From 451091b89babd933f03fb1d02d7069a7b14ed677 Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Wed, 5 May 2021 19:05:08 +0200 Subject: [PATCH] Fix integration test in the windows bot --- test/integration/scripting_spec.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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]) => {