-
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.
Upgrade Cypress along with the agent (#96)
* Upgrade Cypress along with the agent * Specify the agent version which was released today
- Loading branch information
Showing
8 changed files
with
2,065 additions
and
164 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { defineConfig } from "cypress"; | ||
import { addVisualRegressionTrackerPlugin } from "@visual-regression-tracker/agent-cypress"; | ||
|
||
/** | ||
* @see https://docs.cypress.io/guides/references/configuration | ||
*/ | ||
export default defineConfig({ | ||
e2e: { | ||
baseUrl: "https://www.google.com/", | ||
specPattern: "cypress/integration/*.spec.js", | ||
|
||
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: { | ||
runMode: 1, | ||
openMode: 0, | ||
}, | ||
env: { | ||
visualRegressionTracker: { | ||
apiUrl: "http://localhost:4200", | ||
apiKey: "DEFAULTUSERAPIKEYTOBECHANGED", | ||
project: "Default project", | ||
branchName: "master", | ||
enableSoftAssert: true, | ||
}, | ||
}, | ||
}); |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.