Skip to content

Commit

Permalink
[js] fix tests; navigationId should not be null
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Sep 16, 2023
1 parent 3e880d1 commit da4eaa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions javascript/node/selenium-webdriver/test/bidi/bidi_test.js
Expand Up @@ -348,7 +348,7 @@ suite(
let info = await browsingContext.navigate(Pages.logEntryAdded)

assert.notEqual(browsingContext.id, null)
assert.equal(info.navigationId, null)
assert.notEqual(info.navigationId, null)
assert(info.url.includes('/bidi/logEntryAdded.html'))
})

Expand All @@ -363,7 +363,7 @@ suite(
)

assert.notEqual(browsingContext.id, null)
assert.equal(info.navigationId, null)
assert.notEqual(info.navigationId, null)
assert(info.url.includes('/bidi/logEntryAdded.html'))
})

Expand Down Expand Up @@ -1962,7 +1962,7 @@ suite(
const info = await browsingContext.navigate(Pages.logEntryAdded)

assert.notEqual(browsingContext.id, null)
assert.equal(info.navigationId, null)
assert.notEqual(info.navigationId, null)
assert(info.url.includes('/bidi/logEntryAdded.html'))

await driver.wait(until.urlIs(Pages.logEntryAdded))
Expand Down

0 comments on commit da4eaa1

Please sign in to comment.