From 142e6d93b6dc5800569fa8dde157a8f1f5032562 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 21 Nov 2022 02:53:50 +0000 Subject: [PATCH] set e2e test connection to 2 seconds --- source/assets/scripts/main.e2e.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/assets/scripts/main.e2e.test.js b/source/assets/scripts/main.e2e.test.js index 594d359..8ec23ca 100644 --- a/source/assets/scripts/main.e2e.test.js +++ b/source/assets/scripts/main.e2e.test.js @@ -22,7 +22,7 @@ describe("test App end to end", async () => { browser = await puppeteer.launch({args: root ? ["--no-sandbox"] : undefined}); page = await browser.newPage(); try{ - await page.goto("http://localhost:8080", {timeout: 1000}); + await page.goto("http://localhost:8080", {timeout: 2000}); await console.log(`✔ connected to localhost webserver as ${root ? "root" : "user"}`); } catch (error) {