Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f9a875c

Browse files
navin772sandeepsuryaprasad
authored andcommittedMar 23, 2025
[js][bidi]: fix chrome and firefox test for CI RBE (SeleniumHQ#15405)
fix chrome and firefox test for CI RBE
1 parent fe69b5b commit f9a875c

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)
Please sign in to comment.