1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #18277 from calixteman/issue18276

[Editor] Fix intermittent failure in integration test when highlighting with the keyboard
This commit is contained in:
Tim van der Meij 2024-06-18 19:34:59 +02:00 committed by GitHub
commit 2f462a8afe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 },