Skip to content

Commit

Permalink
chore(cypress): update files to fit cypress new version
Browse files Browse the repository at this point in the history
  • Loading branch information
willian-viana committed Sep 13, 2023
1 parent 9174227 commit 7bd7e26
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 22 deletions.
31 changes: 31 additions & 0 deletions cypress.config.js
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',
},
});
22 changes: 0 additions & 22 deletions cypress.json

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7bd7e26

Please sign in to comment.