Skip to content

Commit

Permalink
ci: fix auth0 login
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Jun 16, 2023
1 parent 96d45df commit d8c80a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __tests__/e2e/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ describe('end-to-end tests', () => {
password: process.env.E2E_PASSWORD,
username: process.env.E2E_USERNAME_API
})
await page.keyboard.press('Enter')
} catch (error) {
console.warn(error)
console.warn(
'You may have forgotten to set E2E_PASSWORD or E2E_USERNAME_API environment variables'
)
}
await page.click('button[type="submit"]')

await page.waitForNavigation({ waitUntil: 'networkidle2' })

Expand Down Expand Up @@ -84,13 +84,13 @@ describe('end-to-end tests', () => {
password: process.env.E2E_PASSWORD,
username: E2E_USERNAME
})
await page.keyboard.press('Enter')
} catch (error) {
console.warn(error)
console.warn(
'You may have forgotten to set E2E_PASSWORD or E2E_USERNAME environment variables'
)
}
await page.click('button[type="submit"]')

await page.waitForNavigation({ waitUntil: 'networkidle2' })

Expand Down Expand Up @@ -170,13 +170,13 @@ describe('end-to-end tests', () => {
password: process.env.E2E_PASSWORD,
username: NEW_CDP_USERNAME
})
await page.keyboard.press('Enter')
} catch (error) {
console.warn(error)
console.warn(
'You may have forgotten to set E2E_PASSWORD or E2E_NEW_USERNAME_1 environment variables'
)
}
await page.click('button[type="submit"]')

await page.waitForNavigation({ waitUntil: 'networkidle2' })

Expand Down

0 comments on commit d8c80a5

Please sign in to comment.