diff --git a/test/integration/scripting_spec.js b/test/integration/scripting_spec.js index 99c31f464..de950357a 100644 --- a/test/integration/scripting_spec.js +++ b/test/integration/scripting_spec.js @@ -498,6 +498,10 @@ describe("Interaction", () => { pages = await loadAndWait("js-authors.pdf", "#\\32 5R"); }); + afterAll(async () => { + await closePages(pages); + }); + it("must print authors in a text field", async () => { await Promise.all( pages.map(async ([browserName, page]) => { @@ -647,6 +651,10 @@ describe("Interaction", () => { pages = await loadAndWait("js-colors.pdf", "#\\33 4R"); }); + afterAll(async () => { + await closePages(pages); + }); + it("must change colors", async () => { await Promise.all( pages.map(async ([browserName, page]) => {