Skip to content

Commit da4eaa1

Browse files
committed
[js] fix tests; navigationId should not be null
1 parent 3e880d1 commit da4eaa1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/node/selenium-webdriver/test/bidi/bidi_test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ suite(
348348
let info = await browsingContext.navigate(Pages.logEntryAdded)
349349

350350
assert.notEqual(browsingContext.id, null)
351-
assert.equal(info.navigationId, null)
351+
assert.notEqual(info.navigationId, null)
352352
assert(info.url.includes('/bidi/logEntryAdded.html'))
353353
})
354354

@@ -363,7 +363,7 @@ suite(
363363
)
364364

365365
assert.notEqual(browsingContext.id, null)
366-
assert.equal(info.navigationId, null)
366+
assert.notEqual(info.navigationId, null)
367367
assert(info.url.includes('/bidi/logEntryAdded.html'))
368368
})
369369

@@ -1962,7 +1962,7 @@ suite(
19621962
const info = await browsingContext.navigate(Pages.logEntryAdded)
19631963

19641964
assert.notEqual(browsingContext.id, null)
1965-
assert.equal(info.navigationId, null)
1965+
assert.notEqual(info.navigationId, null)
19661966
assert(info.url.includes('/bidi/logEntryAdded.html'))
19671967

19681968
await driver.wait(until.urlIs(Pages.logEntryAdded))

0 commit comments

Comments
 (0)