-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Task 108196: cypress tags for filtering tests (#413)
* Task 108196: Cypress Tags Cypress grep: - Cypress 10.0^ dependency - Grep Module import to /plugins/index.js & /support/e2e.js - Tags in use: @dev,@ stage, @integration - For more recipes: https://github.com/cypress-io/cypress-grep Cypress upgrade: - Cypress package version: 10.9.0 - Folder where tests live is renamed: from 'integration', to 'e2e' - Test files renamed: from '.spec.js', now '.cy.js' - Support files renamed from: /support/index.js, now support/e2e.js - Cypress config files changed: from cypress.json, now cypress.config.ts - Latest changes: https://docs.cypress.io/guides/references/changelog Cypress 10.9.0 known issues: - Unable to run all tests at once via Cypress GUI: cypress-io/cypress#21628 - Error Log each time tests run in terminal: cypress-io/cypress#22273 README: - grep run command - grep recipes * Task 108196: Cypress Tags - updates to README * Task 108196: Cypress Tags - fix typo - Fix typo on README
- Loading branch information
1 parent
438809f
commit b223621
Showing
37 changed files
with
3,921 additions
and
2,319 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
ApplyToBecomeInternal/ApplyToBecomeCypressTests/cypress.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { defineConfig } from 'cypress' | ||
|
||
export default defineConfig({ | ||
video: false, | ||
screenshots: false, | ||
retries: 2, | ||
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) | ||
}, | ||
}, | ||
}) |
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...596_error-handling_incorrect-url-tests.js → ..._error-handling_incorrect-url-tests.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...j-dates/86296_error-handling_checkmark.js → ...ates/86296_error-handling_checkmark.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ates/86342_error-handling_error-routes.js → ...s/86342_error-handling_error-routes.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nformation/86316_happy-path_mp-details.js → ...rmation/86316_happy-path_mp-details.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...formation/86858_modify-viability-field.js → ...mation/86858_modify-viability-field.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rmation/86859_modify-financial-deficit.js → ...tion/86859_modify-financial-deficit.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tion/92796_modify_distance-from-school.js → ...n/92796_modify_distance-from-school.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
..._url-routing/86339_advisory-board-urls.js → ...l-routing/86339_advisory-board-urls.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ormation/86462_verify-date-sent-return.js → ...ation/86462_verify-date-sent-return.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ation/86856_comments-updated-correctly.js → ...on/86856_comments-updated-correctly.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ion/87641_checkmark-application-status.js → .../87641_checkmark-application-status.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
..._happy-path_cookie-consent-preferences.js → ...ppy-path_cookie-consent-preferences.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...or-handling_advisory-board-date-errors.js → ...handling_advisory-board-date-errors.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
..._Apply-to-become-get-application types.js → ...ply-to-become-get-application types.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ply-to-become-get-application-data-map.js → ...-to-become-get-application-data-map.cy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.