-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
feat: use supportFile by testingType #19364
feat: use supportFile by testingType #19364
Conversation
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ FlakinessThis comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
…jandro/feat/supportFile-by-testing-type
…jandro/feat/supportFile-by-testing-type
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.
One minor thing, I went through this PR as carefully as I could, looks good!
.eslintignore
Outdated
@@ -22,7 +22,8 @@ system-tests/projects/**/static/* | |||
system-tests/projects/**/*.jsx | |||
system-tests/projects/**/fail.js | |||
system-tests/lib/scaffold/plugins/index.js | |||
system-tests/lib/scaffold/support/index.js | |||
system-tests/lib/scaffold/support/e2e.js | |||
system-tests/lib/scaffold/support/commaponent.js |
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.
Is this supposed to be spelled commaponent.js
?
…jandro/feat/supportFile-by-testing-type
const E2E_SCAFFOLD_BODY = (opts: E2eScaffoldOpts) => { | ||
return ` | ||
e2e: { | ||
supportFile: ${opts.lang === 'ts' ? '\'cypress/support/e2e.ts\'' : '\'cypress/support/e2e.js\''}, |
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.
supportFile: ${opts.lang === 'ts' ? '\'cypress/support/e2e.ts\'' : '\'cypress/support/e2e.js\''}, | |
supportFile: '\'cypress/support/e2e.${opts.lang}\'', |
fbea255
User facing changelog
Additional details
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?