mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-28 23:28:16 +02:00
Fix some integration tests
This commit is contained in:
parent
0ec945ce8c
commit
38503d1c5f
2 changed files with 16 additions and 0 deletions
|
@ -72,6 +72,10 @@ describe("Checkbox annotation", () => {
|
|||
pages.map(async ([browserName, page]) => {
|
||||
for (const selector of selectors) {
|
||||
await page.click(selector);
|
||||
await page.waitForFunction(
|
||||
`document.querySelector("${selector} > :first-child").checked`
|
||||
);
|
||||
|
||||
for (const otherSelector of selectors) {
|
||||
const checked = await page.$eval(
|
||||
`${otherSelector} > :first-child`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue