Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.

Update to cypress 11.2.0 #15

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v2
uses: cypress-io/github-action@v5
with:
build: npm run build
start: npm start
start: npm start
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
node_modules
dist

cypress/downloads
cypress/screenshots
cypress/videos
cypress/screenshots

*.log
14 changes: 14 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
projectId: '4qto2e',
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
baseUrl: 'http://localhost:8080',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
})
4 changes: 0 additions & 4 deletions cypress.json

This file was deleted.

File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
"cypress:record": "cypress run --record --key"
},
"dependencies": {
"todomvc-app-css": "2.3.0",
"todomvc-common": "1.0.5"
"todomvc-app-css": "^2.4.2",
"todomvc-common": "^1.0.5"
},
"devDependencies": {
"@babel/core": "^7.13.14",
"@babel/preset-env": "^7.13.12",
"@rollup/plugin-babel": "5.3.0",
"cypress": "^7.0.0",
"http-server": "^0.12.3",
"rollup": "2.44.0"
"@rollup/plugin-babel": "^6.0.3",
"cypress": "^11.2.0",
"http-server": "^14.1.1",
"rollup": "2.79.1"
}
}
2,920 changes: 1,393 additions & 1,527 deletions yarn.lock

Large diffs are not rendered by default.