generated from eea/volto-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(cypress): Cypress 10 / Razzle 4
- Loading branch information
Showing
11 changed files
with
393 additions
and
116 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
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
.vscode/ | ||
.history | ||
.eslintrc.js | ||
.nyc_output | ||
project | ||
coverage | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
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 @@ | ||
module.exports = require('@plone/volto/babel'); |
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,26 @@ | ||
const { defineConfig } = require('cypress'); | ||
|
||
module.exports = defineConfig({ | ||
viewportWidth: 1280, | ||
defaultCommandTimeout: 8888, | ||
chromeWebSecurity: false, | ||
reporter: 'junit', | ||
video: true, | ||
retries: { | ||
runMode: 8, | ||
openMode: 0, | ||
}, | ||
reporterOptions: { | ||
mochaFile: 'cypress/reports/cypress-[hash].xml', | ||
jenkinsMode: true, | ||
toConsole: true, | ||
}, | ||
e2e: { | ||
setupNodeEvents(on, config) { | ||
// e2e testing node events setup code | ||
require('@cypress/code-coverage/task')(on, config); | ||
return config; | ||
}, | ||
baseUrl: 'http://localhost:3000', | ||
}, | ||
}); |
This file was deleted.
Oops, something went wrong.
13 changes: 6 additions & 7 deletions
13
cypress/integration/block-basics.js → cypress/e2e/01-block-basics.cy.js
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.