From 4c16cb710e85bffd6a066aac23cedeccc2cd836b Mon Sep 17 00:00:00 2001 From: "Xenos F." Date: Wed, 6 Nov 2024 10:06:34 +0800 Subject: [PATCH] Increase test delay --- .github/workflows/system-test.yml | 2 +- test/HomePage.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/system-test.yml b/.github/workflows/system-test.yml index 652f13d09b..6d7c922ab6 100644 --- a/.github/workflows/system-test.yml +++ b/.github/workflows/system-test.yml @@ -65,5 +65,5 @@ jobs: npm run start & - name: Run Tests run: | - sleep 20 + sleep 60 xvfb-run --server-args="-screen 0 1024x768x24" npm run test diff --git a/test/HomePage.test.js b/test/HomePage.test.js index 914dc7f569..a9fd8b04e0 100644 --- a/test/HomePage.test.js +++ b/test/HomePage.test.js @@ -6,7 +6,7 @@ let url = ROOT_URL; beforeAll(async () => { driver = await getWebDriver(); -}, 10 * 1000); +}, 20 * 1000); beforeEach(async () => { await driver.get(url);