Skip to content

Commit

Permalink
Upgrade Cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
crayolakat committed Feb 1, 2024
1 parent 89e4a4e commit bcd31a1
Show file tree
Hide file tree
Showing 5 changed files with 288 additions and 154 deletions.
14 changes: 14 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
fixturesFolder: '__test__/cypress/fixtures',
video: true,
e2e: {
setupNodeEvents(on, config) {
return require('./__test__/cypress/plugins/index.js')(on, config)
},
baseUrl: 'http://localhost:3001',
specPattern: '__test__/cypress/integration/*.test.js',
supportFile: '__test__/cypress/support/index.js',
},
})
9 changes: 0 additions & 9 deletions cypress.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
"@babel/eslint-parser": "^7.19.1",
"babel-jest": "^29.3.1",
"babel-preset-es2017": "^6.24.1",
"cypress": "5.6.0",
"cypress": "13.6.4",
"cypress-file-upload": "^4.0.6",
"cypress-wait-until": "^1.7.1",
"enzyme": "^3.11.0",
Expand Down
1 change: 1 addition & 0 deletions src/server/models/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function createLoader(model, opts) {
// This is in dependency order, so tables are after their dependencies
const tableList = [
"organization", // good candidate?
"opt_out_message",
"user", // good candidate
"campaign", // good candidate
"campaign_admin",
Expand Down
Loading

0 comments on commit bcd31a1

Please sign in to comment.