Skip to content

Commit

Permalink
Service/Update Cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryczko authored Sep 23, 2023
1 parent c6ee857 commit 9c44da8
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 107 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ jobs:
- run: npm run lint
- run: npm run test-ci
- run: npm run build
# - name: Run E2E tests
# uses: cypress-io/github-action@v5
# with:
# browser: chrome
# build: npm run build
# start: npm start
# wait-on: 'http://localhost:3000'
- name: Run E2E tests
uses: cypress-io/github-action@v6
with:
build: npm run build
start: npm start
wait-on: 'http://localhost:3000'
1 change: 0 additions & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export default defineConfig({
e2e: {
baseUrl: 'http://localhost:3000',
supportFile: 'cypress/support/e2e.ts',
videoUploadOnPasses: false,
video: false,
screenshotOnRunFailure: false,
defaultCommandTimeout: 50000,
Expand Down
177 changes: 79 additions & 98 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@typescript-eslint/parser": "^5.56.0",
"autoprefixer": "^10.4.7",
"cross-env": "^7.0.3",
"cypress": "^12.13.0",
"cypress": "^13.2.0",
"eslint": "^8.36.0",
"eslint-config-next": "^13.4.1",
"eslint-config-prettier": "^8.7.0",
Expand Down

0 comments on commit 9c44da8

Please sign in to comment.