diff --git a/test/integration/viewer_spec.mjs b/test/integration/viewer_spec.mjs index deb059ef1..5dd5b2d31 100644 --- a/test/integration/viewer_spec.mjs +++ b/test/integration/viewer_spec.mjs @@ -1403,6 +1403,10 @@ describe("PDF viewer", () => { ); }); + afterEach(async () => { + await closePages(pages); + }); + it("keeps the content under the pinch centre fixed on the screen", async () => { await Promise.all( pages.map(async ([browserName, page]) => { @@ -1610,6 +1614,10 @@ describe("PDF viewer", () => { ); }); + afterEach(async () => { + await closePages(pages); + }); + it("Check that the top right corner of the annotation is centered vertically", async () => { await Promise.all( pages.map(async ([browserName, page]) => {