From f2ef017c8f4f340e1ce39a66177e9040eb7051ab Mon Sep 17 00:00:00 2001 From: Etienne Noel Date: Tue, 9 Apr 2024 19:59:59 -0700 Subject: [PATCH] - Update --- e2e/specs/main-thread-and-worker-error.spec.js | 2 +- e2e/specs/main-thread-and-worker.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/specs/main-thread-and-worker-error.spec.js b/e2e/specs/main-thread-and-worker-error.spec.js index 2095020..562857e 100644 --- a/e2e/specs/main-thread-and-worker-error.spec.js +++ b/e2e/specs/main-thread-and-worker-error.spec.js @@ -4,7 +4,7 @@ const htmlFilesToLoad = [ htmlFilesToLoad.forEach((htmlFile) => { describe(htmlFile, () => { - beforeAll(async () => { + beforeEach(async () => { await page.goto(`http://127.0.0.1:9000/${htmlFile}`, { headless: true, }); diff --git a/e2e/specs/main-thread-and-worker.spec.js b/e2e/specs/main-thread-and-worker.spec.js index ccf6e0d..0efcb30 100644 --- a/e2e/specs/main-thread-and-worker.spec.js +++ b/e2e/specs/main-thread-and-worker.spec.js @@ -7,7 +7,7 @@ const htmlFilesToLoad = [ htmlFilesToLoad.forEach((htmlFile) => { describe(htmlFile, () => { - beforeAll(async () => { + beforeEach(async () => { await page.goto(`http://127.0.0.1:9000/${htmlFile}`, { headless: true, });