1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

[Editor] Fix intermittent failure in integration test when highlighting with the keyboard

This commit is contained in:
Calixte Denizet 2024-06-18 18:29:25 +02:00
parent 4c041586fb
commit 4cc77f1470

View file

@ -696,6 +696,8 @@ describe("Highlight Editor", () => {
await page.keyboard.press("ArrowDown");
await page.keyboard.up("Shift");
await page.waitForSelector(sel);
const [w, h] = await page.evaluate(s => {
const {
style: { width, height },