Merge pull request #12770 from calixteman/rm_timeout

Remove timeout in annotation integration test
This commit is contained in:
Brendan Dahl 2020-12-22 08:40:23 -08:00 committed by GitHub
commit 6516ff20b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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