Skip to content

Commit

Permalink
e2e: update the file structure to match v12 defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdulrhmnGhanem committed Jul 21, 2023
1 parent 656cd68 commit d55c69f
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 19 deletions.
28 changes: 28 additions & 0 deletions e2e/cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
projectId: 'd8hk55',
experimentalFetchPolyfill: true,
numTestsKeptInMemory: 25,
includeShadowDom: true,
defaultCommandTimeout: 10000,
pageLoadTimeout: 80000,
viewportWidth: 1500,
viewportHeight: 800,
videoUploadOnPasses: false,
retries: {
runMode: 3,
},
env: {
home_path: '/',
},
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://kitspace.test:3000',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
})
19 changes: 0 additions & 19 deletions e2e/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.
File renamed without changes.
File renamed without changes.

0 comments on commit d55c69f

Please sign in to comment.