Skip to content

Commit

Permalink
test: Update config for new Cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
Betree committed Jan 8, 2024
1 parent 48b9cc9 commit 8f6557c
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 12 deletions.
22 changes: 22 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
projectId: 'iivzis',
videoUploadOnPasses: false,
env: {
CYPRESS_API_URL: 'http://localhost:4000',
CYPRESS_USERNAME: 'Captain',
CYPRESS_EMAIL: '[email protected]',
CYPRESS_PASSWORD: 'password',
CYPRESS_ENVIRONMENT: 'dev',
},
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://localhost:3333',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
})
12 changes: 0 additions & 12 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.

0 comments on commit 8f6557c

Please sign in to comment.