mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Remove timeout in annotation integration test
This commit is contained in:
parent
9c99df7cac
commit
9dc331ec62
1 changed files with 4 additions and 1 deletions
|
@ -39,7 +39,10 @@ describe("Annotation highlight", () => {
|
|||
);
|
||||
expect(hidden).withContext(`In ${browserName}`).toEqual(true);
|
||||
await page.hover("[data-annotation-id='19R']");
|
||||
await page.waitForTimeout(100);
|
||||
await page.waitForSelector("[data-annotation-id='21R']", {
|
||||
visible: true,
|
||||
timeout: 0,
|
||||
});
|
||||
hidden = await page.$eval(
|
||||
"[data-annotation-id='21R']",
|
||||
el => el.hidden
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue