Fix integration test in the windows bot

This commit is contained in:
Calixte Denizet 2021-05-05 19:05:08 +02:00
parent 52961197d3
commit 451091b89b

View File

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