Skip to content

Commit 9a53f27

Browse files
authored
[js][bidi]: fix chrome and firefox test for CI RBE (#15405)
fix chrome and firefox test for CI RBE
1 parent 9b1e83c commit 9a53f27

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ suite(
6868

6969
assert.equal(contextInfo.id, windowHandle)
7070
assert.equal(contextInfo.url, 'about:blank')
71-
assert.equal(contextInfo.children, null)
71+
72+
assert(
73+
Array.isArray(contextInfo.children) && contextInfo.children.length === 0,
74+
'children should be an empty array',
75+
)
7276
assert.equal(contextInfo.parentBrowsingContext, null)
7377
})
7478

0 commit comments

Comments
 (0)