Skip to content

Commit

Permalink
pkp/pkp-lib#8239 Update Cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Dec 20, 2022
1 parent 412a40d commit a4234af
Show file tree
Hide file tree
Showing 32 changed files with 591 additions and 1,148 deletions.
33 changes: 33 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
env: {
contextTitles: {
en_US: 'Public Knowledge Preprint Server',
fr_CA: 'Serveur de prépublication de la connaissance du public',
},
contextDescriptions: {
en_US:
'The Public Knowledge Preprint Server is a preprint service on the subject of public access to science.',
fr_CA:
"Le Serveur de prépublication de la connaissance du public est une service trimestrielle évaluée par les pairs sur le thème de l'accès du public à la science.",
},
contextAcronyms: {
en_US: 'PKP',
},
defaultGenre: 'Preprint Text',
authorUserGroupId: 4,
},
watchForFileChanges: false,
defaultCommandTimeout: 500000,
video: false,
numTestsKeptInMemory: 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('./lib/pkp/cypress/plugins/index.js')(on, config)
},
specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}',
},
})
23 changes: 0 additions & 23 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.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit a4234af

Please sign in to comment.