Skip to content

Commit e0be33a

Browse files
committed
remove cypress usage
1 parent 21b821d commit e0be33a

File tree

3 files changed

+0
-48
lines changed

3 files changed

+0
-48
lines changed

.github/workflows/_tests.yml

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -27,49 +27,3 @@ jobs:
2727
- name: 📝 Run frontend unit tests
2828
run: pnpm test:unit:ci
2929
shell: bash
30-
31-
integration_tests:
32-
runs-on: ubuntu-latest
33-
timeout-minutes: 15
34-
35-
steps:
36-
- uses: actions/checkout@v4
37-
38-
- uses: ./.github/actions/setup
39-
with:
40-
run_install: true
41-
42-
# Run frontend integration test with the Cypress runner
43-
# https://github.com/cypress-io/github-action
44-
- name: 📝 Run integration tests
45-
uses: cypress-io/github-action@c8b086ac389f43967b149b87d5f9cfe73f4ed20e
46-
with:
47-
component: true
48-
install: false
49-
headed: false
50-
browser: chrome
51-
command: pnpm test:integration
52-
build: npx cypress info
53-
env:
54-
# Enables Cypress debugging logs, very useful if Cypress crashes, like out-of-memory issues.
55-
# DEBUG: "cypress:*" # Enable all logs. See https://docs.cypress.io/guides/references/troubleshooting.html#Print-DEBUG-logs
56-
DEBUG: "cypress:server:util:process_profiler" # Enable logs for "memory and CPU usage". See https://docs.cypress.io/guides/references/troubleshooting.html#Log-memory-and-CPU-usage
57-
NODE_ENV: production
58-
59-
- name: ⬆️ Upload Images
60-
if: failure()
61-
uses: actions/upload-artifact@v3
62-
with:
63-
name: cypress-screenshots
64-
path: ./cypress/screenshots
65-
if-no-files-found: ignore
66-
retention-days: 5
67-
68-
- name: ⬆️ Upload Videos
69-
if: failure()
70-
uses: actions/upload-artifact@v3
71-
with:
72-
name: cypress-videos
73-
path: ./cypress/videos
74-
if-no-files-found: ignore
75-
retention-days: 5

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
"lint:all": "pnpm run lint:check && pnpm run lint:headers && pnpm run lint:format",
3030
"test:unit": "TZ=UTC pnpm vitest run --outputFile.junit=./test-results/junit.xml",
3131
"test:unit:ci": "pnpm test:unit --coverage --silent",
32-
"test:integration": "pnpm cypress run --component --env ELECTRON_EXTRA_LAUNCH_ARGS=--disable-gpu,LIBVA_DRIVER_NAME=--disable-software-rasterizer",
33-
"test:integration:open": "pnpm cypress open --component --browser=chrome",
3432
"preview": "vite preview",
3533
"storybook": "BUILD_ENV='storybook' storybook dev -p 6006",
3634
"storybook:build": "BUILD_ENV='storybook' storybook build"

test-results/junit.xml

Whitespace-only changes.

0 commit comments

Comments
 (0)