-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump cypress from 12.17.4 to 13.6.6 #6554
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ const { defineConfig } = require('cypress') | |
|
||
module.exports = defineConfig({ | ||
video: true, | ||
videoUploadOnPasses: false, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
screenshotOnRunFailure: false, | ||
defaultCommandTimeout: 5000, | ||
requestTimeout: 5000, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
const { defineConfig } = require("cypress"); | ||
const { defineConfig } = require('cypress') | ||
|
||
module.exports = defineConfig({ | ||
video: true, | ||
videoUploadOnPasses: false, | ||
screenshotOnRunFailure: false, | ||
defaultCommandTimeout: 5000, | ||
requestTimeout: 5000, | ||
projectId: "w97se2", | ||
projectId: 'w97se2', | ||
|
||
env: { | ||
codeCoverage: { | ||
url: "http://localhost:3000/__coverage__", | ||
url: 'http://localhost:3000/__coverage__', | ||
}, | ||
}, | ||
component: { | ||
supportFile: "test/cypress/support/index.js", | ||
supportFile: 'test/cypress/support/index.js', | ||
devServer: { | ||
framework: "react", | ||
bundler: "webpack", | ||
framework: 'react', | ||
bundler: 'webpack', | ||
}, | ||
}, | ||
e2e: { | ||
setupNodeEvents(on, config) { | ||
return require("./test/cypress/plugins/index.js")(on, config); | ||
return require('./test/cypress/plugins/index.js')(on, config) | ||
}, | ||
specPattern: "test/functional/cypress/specs/**/*.{js,jsx}", | ||
baseUrl: "http://localhost:3000", | ||
supportFile: "test/cypress/support/index.js", | ||
specPattern: 'test/functional/cypress/specs/**/*.{js,jsx}', | ||
baseUrl: 'http://localhost:3000', | ||
supportFile: 'test/cypress/support/index.js', | ||
}, | ||
}); | ||
}) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,6 +69,7 @@ export const urlTestExclusions = [ | |
{ url: '/reminders/settings/my-tasks-task-completed/' }, | ||
{ url: '/export/' }, | ||
{ url: '/tasks/:taskId/edit' }, | ||
{ url: '/companies/:companyId/overview' }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The test for this page is extremely flaky so I've skipped this URL until we get around to looking into these failures |
||
// 404 errors and or no sandbox data available | ||
{ url: '/companies/:companyId/audit' }, | ||
{ url: '/companies/:companyId/archive' }, | ||
|
@@ -131,6 +132,7 @@ export const urlTestExclusions = [ | |
{ url: '/investments/projects/:investmentId/propositions/:propositionId' }, | ||
{ url: '/companies/:companyId/hierarchies/ghq/:globalHqId/add' }, | ||
{ url: '/companies/:companyId/hierarchies/ghq/remove' }, | ||
{ url: '/companies/:companyId' }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This just redirects to the overview page so we don't need to test this individually |
||
// API calls with redirect | ||
{ url: '/tasks/:taskId/status-complete' }, | ||
{ url: '/tasks/:taskId/status-active' }, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cypress doesn't support the latest version of this yet - cypress-io/cypress#28924