Skip to content

Commit 474bb59

Browse files
committed
Trying different memmory config for cypress
1 parent 4387f03 commit 474bb59

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ jobs:
281281
/sbin/my_init &
282282
cd ui-tests
283283
npm install
284-
npm run cy:run:dashboard
284+
xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" \
285+
npm run cy:run:dashboard -- --headless --no-sandbox --disable-gpu --disable-dev-shm-usage
285286
286287
- name: Upload UI tests artifacts
287288
if: ${{ failure() }}

ui-tests/cypress.config.sample.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = defineConfig({
77
defaultCommandTimeout: 30000,
88
viewportWidth: 2000,
99
viewportHeight: 1100,
10-
numTestsKeptInMemory: 0,
10+
numTestsKeptInMemory: 1,
1111
projectId: "000000",
1212
chromeWebSecurity: false,
1313
watchForFileChanges: true,

0 commit comments

Comments
 (0)