Skip to content

Commit e6f2760

Browse files
committed
Updated cypress run
1 parent 7fd584e commit e6f2760

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ jobs:
302302
cd ui-tests
303303
npm install
304304
xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" \
305-
npm run cy:run:dashboard --headless --no-sandbox --disable-gpu --disable-dev-shm-usage --browser electron
305+
npm run cy:run:dashboard
306306
307307
- name: Upload UI tests artifacts
308308
if: ${{ failure() }}
@@ -381,7 +381,7 @@ jobs:
381381
cd ui-tests
382382
npm install
383383
xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" \
384-
npm run cy:run:onboarding --headless --no-sandbox --disable-gpu --disable-dev-shm-usage --browser electron
384+
npm run cy:run:onboarding
385385
386386
- name: Upload UI tests artifacts
387387
if: ${{ failure() }}

ui-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"author": "Countly, Inc.",
66
"scripts": {
77
"cy:open": "cypress open",
8-
"cy:run:dashboard": "CYPRESS_NO_COMMAND_LOG=1 cypress run --record --key 00000000-0000-0000-0000-000000000000 --spec **/dashboard/**/*.cy.js --browser chrome",
9-
"cy:run:onboarding": "CYPRESS_NO_COMMAND_LOG=1 cypress run --record --key 00000000-0000-0000-0000-000000000000 --spec **/onboarding/**/*.cy.js --browser chrome",
8+
"cy:run:dashboard": "CYPRESS_NO_COMMAND_LOG=1 cypress run --record --key 00000000-0000-0000-0000-000000000000 --spec **/dashboard/**/*.cy.js --headless --no-sandbox --disable-gpu --disable-dev-shm-usage --browser electron",
9+
"cy:run:onboarding": "CYPRESS_NO_COMMAND_LOG=1 cypress run --record --key 00000000-0000-0000-0000-000000000000 --spec **/onboarding/**/*.cy.js --headless --no-sandbox --disable-gpu --disable-dev-shm-usage --browser electron",
1010
"cy:run:login": "cypress run --spec **/login.cy.js --browser chrome",
1111
"cy:run:userActivity": "cypress run --spec **/analytics/loyalty/userActivity.cy.js --browser chrome"
1212
},

0 commit comments

Comments
 (0)