-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(cypress): update files to fit cypress new version
- Loading branch information
1 parent
9174227
commit 7bd7e26
Showing
7 changed files
with
31 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
const { defineConfig } = require('cypress'); | ||
|
||
module.exports = defineConfig({ | ||
defaultCommandTimeout: 100000, | ||
responseTimeout: 100000, | ||
env: { | ||
codeCoverage: { | ||
url: '/api/__coverage__', | ||
}, | ||
}, | ||
retries: { | ||
runMode: 2, | ||
openMode: 0, | ||
}, | ||
video: false, | ||
lighthouse: { | ||
performance: 0, | ||
accessibility: 50, | ||
'best-practices': 85, | ||
seo: 85, | ||
pwa: 0, | ||
}, | ||
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); // eslint-disable-line | ||
}, | ||
baseUrl: 'http://localhost:3000', | ||
}, | ||
}); |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.