Skip to content

Commit

Permalink
chore: update cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed Oct 4, 2023
1 parent 02ec877 commit 002ccc2
Show file tree
Hide file tree
Showing 16 changed files with 163 additions and 238 deletions.
16 changes: 16 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { defineConfig } from 'cypress'
import { addMatchImageSnapshotPlugin } from '@simonsmith/cypress-image-snapshot/plugin'

export default defineConfig({
e2e: {
baseUrl: 'http://localhost:3000',
video: false,
scrollBehavior: false,
fixturesFolder: false,
screenshotOnRunFailure: false,
excludeSpecPattern: ['**/__snapshots__/*'],
setupNodeEvents(on) {
addMatchImageSnapshotPlugin(on)
},
},
})
8 changes: 0 additions & 8 deletions cypress.json

This file was deleted.

File renamed without changes.
6 changes: 0 additions & 6 deletions cypress/plugins/index.js

This file was deleted.

Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions cypress/support/commands.js

This file was deleted.

4 changes: 4 additions & 0 deletions cypress/support/e2e.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import '@testing-library/cypress/add-commands'
import { addMatchImageSnapshotCommand } from '@simonsmith/cypress-image-snapshot/command'

addMatchImageSnapshotCommand()
20 changes: 0 additions & 20 deletions cypress/support/index.js

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@
"@react-three/fiber": "^8.11.9",
"@remix-run/dev": "patch:@remix-run/dev@npm%3A1.15.0#./.yarn/patches/@remix-run-dev-npm-1.15.0-33b55fa3ee.patch",
"@remix-run/serve": "^1.15.0",
"@simonsmith/cypress-image-snapshot": "^8.1.2",
"@swc/core": "^1.3.41",
"@swc/jest": "^0.2.24",
"@testing-library/cypress": "^8.0.7",
"@testing-library/cypress": "^10.0.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/fs-extra": "^11.0.1",
Expand All @@ -85,8 +86,7 @@
"@types/react-native": "^0.71.3",
"@types/styled-components": "^5.1.26",
"@types/three": "^0.149.0",
"cypress": "^9.7.0",
"cypress-image-snapshot": "^4.0.1",
"cypress": "^13.3.0",
"eslint": "^8.36.0",
"flush-microtasks": "^1.0.1",
"husky": "^8.0.3",
Expand Down
Loading

0 comments on commit 002ccc2

Please sign in to comment.