-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update dependencies like its mid july 2023 (#238)
* Start to migrate Cypress and update everything * All ts now * Use constants to avoid typos and reuse * Single command to setup all commands and constants for keepig typos in bay * Still figuring out how would Cypress API allow various calls * Back and forth... * Move the cy.task call in the same place where it was earlier for easier comparison * Mention the minimum Cypress version * Update usage documentation
- Loading branch information
Showing
20 changed files
with
14,467 additions
and
2,616 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { defineConfig } from 'cypress'; | ||
import { addVisualRegressionTrackerPlugin } from "./lib/plugin"; | ||
|
||
/** | ||
* @see https://docs.cypress.io/guides/references/configuration | ||
*/ | ||
export default defineConfig({ | ||
e2e: { | ||
baseUrl: "https://example.cypress.io", | ||
specPattern: 'cypress/integration/*.spec.ts', | ||
|
||
setupNodeEvents(on, config) { | ||
// `on` is used to hook into various events Cypress emits | ||
// `config` is the resolved Cypress config | ||
addVisualRegressionTrackerPlugin(on, config); | ||
}, | ||
}, | ||
video: false, | ||
screenshotOnRunFailure: false, | ||
retries: 0, | ||
env: { | ||
"visualRegressionTracker": { | ||
"apiUrl": "http://localhost:4200", | ||
"apiKey": "5H90NFWM6BMWWDMWKG8T11DWW22Y", | ||
"project": "fcf9ab05-4bed-40d6-a033-c178948c9897", | ||
"branchName": "master", | ||
"enableSoftAssert": false | ||
} | ||
} | ||
}); |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,12 @@ | ||
/** | ||
* @see https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Support-file | ||
*/ | ||
import { | ||
addVrtTrackCommand, | ||
addVrtStartCommand, | ||
addVrtStopCommand, | ||
} from "../../lib/commands"; | ||
|
||
addVrtStartCommand(); | ||
addVrtStopCommand(); | ||
addVrtTrackCommand(); |
This file was deleted.
Oops, something went wrong.
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.