Skip to content

Commit

Permalink
refactor: remove cypress for future playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Jul 25, 2024
1 parent 4390231 commit 02c58ba
Show file tree
Hide file tree
Showing 11 changed files with 157 additions and 148 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
.github
.vscode
build
cypress
data
forklift
maps
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,6 @@ concurrency:
cancel-in-progress: true

jobs:
test-functional:
name: Functional tests
runs-on: ubuntu-latest
environment:
name: dev

steps:
- name: ⬇️ Set up code
uses: actions/checkout@v4
with:
show-progress: false

- name: 🧪 Run tests
uses: cypress-io/github-action@v6
with:
start: npm run start:ci
wait-on: 'http://0.0.0.0:5173'
wait-on-timeout: 10
env:
VITE_DISCOVER: ${{ secrets.VITE_DISCOVER }}
VITE_PRINT_PROXY: ${{ secrets.VITE_PRINT_PROXY }}
VITE_WEB_API: ${{ secrets.VITE_WEB_API }}

test-unit:
name: Unit tests
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

# testing
/coverage
cypress/videos

# production
/build
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ Build an awesome app.

Run `npm test` to run the unit tests

Run `npm run cypress:run` to run the functional tests

Run `npm run format` to format the code

Run `npm run lint` to lint the code
Expand Down
11 changes: 0 additions & 11 deletions cypress.config.js

This file was deleted.

7 changes: 0 additions & 7 deletions cypress/e2e/example.cy.js

This file was deleted.

22 changes: 0 additions & 22 deletions cypress/plugins/index.js

This file was deleted.

25 changes: 0 additions & 25 deletions cypress/support/commands.js

This file was deleted.

20 changes: 0 additions & 20 deletions cypress/support/e2e.js

This file was deleted.

Loading

0 comments on commit 02c58ba

Please sign in to comment.