Skip to content

Commit

Permalink
✅[e2e] wait for browser url loaded (#253)
Browse files Browse the repository at this point in the history
try to fix e2e issue:
`Unable to get property 'logger' of undefined or null reference`
calls to load the page url from the server are not in server.log
  • Loading branch information
bcaudan authored Feb 6, 2020
1 parent ce037b8 commit 3391513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/scenario/agents.scenario.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import {
withBrowserLogs,
} from './helpers'

beforeEach(() => {
beforeEach(async () => {
// tslint:disable-next-line: no-unsafe-any
browser.url(`/${(browser as any).config.e2eMode}-e2e-page.html`)
await browser.url(`/${(browser as any).config.e2eMode}-e2e-page.html`)
})

afterEach(tearDown)
Expand Down

0 comments on commit 3391513

Please sign in to comment.