Skip to content

Commit

Permalink
[js] Fix locate nodes BiDi test (#14140)
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani committed Jun 20, 2024
1 parent f8db820 commit 078ff3b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ suite(
let driver

beforeEach(async function () {
driver = await env.builder().setFirefoxOptions(new firefox.Options().enableBidi()).build()
driver = await env.builder().build()
})

afterEach(async function () {
Expand Down Expand Up @@ -178,7 +178,7 @@ suite(

await browsingContext.navigate(Pages.xhtmlTestPage, 'complete')

const elements = await browsingContext.locateNodes(Locator.css('div'), 1, undefined, sandbox)
const elements = await browsingContext.locateNodes(Locator.css('div'), 1, sandbox)

assert.strictEqual(elements.length, 1)

Expand Down

0 comments on commit 078ff3b

Please sign in to comment.