From 63db4430aff9ce9af06a9b2e7b5ce74e6b87832c Mon Sep 17 00:00:00 2001 From: Barukimang Date: Fri, 12 Jan 2024 13:07:25 +0300 Subject: [PATCH] add running local server --- .github/workflows/e2e-tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 61fbcd1e4..61b81e10e 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -53,12 +53,12 @@ jobs: # run: npx cypress cache clear - name: Start development server and Run E2E Tests - # run: | - # yarn dev & - # sleep 10 # Wait for the server to start; adjust the time as needed - # xvfb-run --server-args="-screen 0, 1920x1080x24" + run: | + yarn dev & + sleep 10 # Wait for the server to start; adjust the time as needed + xvfb-run --server-args="-screen 0 1920x1080x24" npx synpress run --configFile synpress.config.js --record --key 0c4de406-82ab-48c2-94b1-6267578d2f33 # npx synpress run --configFile synpress.config.js --record --key 0c4de406-82ab-48c2-94b1-6267578d2f33 - run: xvfb-run --server-args="-screen 0 1920x1080x24" npx synpress run --configFile synpress.config.js --record --key 0c4de406-82ab-48c2-94b1-6267578d2f33 + # run: xvfb-run --server-args="-screen 0 1920x1080x24" npx synpress run --configFile synpress.config.js --record --key 0c4de406-82ab-48c2-94b1-6267578d2f33 # uses: cypress-io/github-action@v6 # with: # # cache: false