Skip to content

Commit

Permalink
change move coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
mtusnio committed Aug 24, 2024
1 parent baf5328 commit 7edf92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser_tests/popup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ test("popup appears when hovering over text in plain html", async () => {
await page.setViewport({ width: 1280, height: 720 });
await utils.wait(500)

await page.mouse.move(50, 10)
await page.mouse.move(40, 15)
const exists = !! await page.waitForSelector("#zhongwen-window", { timeout: 5000 });
expect(exists).toBe(true)
})

0 comments on commit 7edf92e

Please sign in to comment.