Adapt cypress config and file names

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-07-06 23:37:39 +02:00
parent d3be13182d
commit c7fb25e3f8
7 changed files with 17 additions and 7 deletions

17
cypress.config.js Normal file
View File

@@ -0,0 +1,17 @@
const { defineConfig } = require('cypress')
module.exports = defineConfig({
projectId: '1s7wkc',
viewportWidth: 1280,
viewportHeight: 720,
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)
},
baseUrl: 'http://nextcloud.local/index.php',
experimentalSessionAndOrigin: true,
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
})

View File

@@ -1,7 +0,0 @@
{
"baseUrl": "http://nextcloud.local/index.php",
"projectId": "1s7wkc",
"viewportWidth": 1280,
"viewportHeight": 720,
"experimentalSessionAndOrigin": true
}