Skip to content

Commit

Permalink
pkp/orcidProfile#216 Update cypess
Browse files Browse the repository at this point in the history
  • Loading branch information
withanage committed Oct 17, 2022
1 parent 02b388e commit f949b83
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const cypress = require("cypress");
module.exports = {
const { defineConfig } = require('cypress')

module.exports = defineConfig({
e2e: {
specPattern: 'cypress/tests/data/**',
experimentalSessionAndOrigin: true,
Expand All @@ -18,7 +19,12 @@ module.exports = {
},
"defaultGenre": "Article Text"
},
"pluginsFile": "lib/pkp/cypress/plugins/index.js",
setupNodeEvents(on, config) {
on('<event>', (arg1, arg2) => {
"pluginsFile": "lib/pkp/cypress/plugins/index.js",
})
},

"watchForFileChanges": false,
"defaultCommandTimeout": 10000,
"video": false,
Expand Down

0 comments on commit f949b83

Please sign in to comment.