Skip to content

Commit

Permalink
Merge pull request mozilla#16970 from timvandermeij/fix-intermittent-…
Browse files Browse the repository at this point in the history
…border

Fix integration test "Interaction in issue15053.pdf must check that a button and text field with a border are hidden"
  • Loading branch information
timvandermeij authored Sep 23, 2023
2 parents f9eda5b + 01428f1 commit a09b722
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/scripting_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,9 @@ describe("Interaction", () => {
.toEqual("visible");

await page.click(getSelector("44R"));
await page.waitForFunction(
`document.querySelector("[data-annotation-id='35R']").style.visibility === "hidden"`
);

visibility = await page.$eval(
"[data-annotation-id='35R']",
Expand Down

0 comments on commit a09b722

Please sign in to comment.