💚 e2e: 3 retries by default

This commit is contained in:
Gina Häußge committed 2022-02-15 21:16:27 +01:00
1 parent 560acb4681
commit f215523f43
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -7,5 +7,6 @@
"supportFile": "support/index.js",
"screenshotsFolder": "screenshots",
"videosFolder": "videos",
"modifyObstructiveCode": false
"modifyObstructiveCode": false,
"retries": 3
}
+2 -2
View File
@@ -17,7 +17,7 @@ context("Login tests", () => {
});
});
it("logs in", {retries: 3}, () => {
it("logs in", () => {
cy.get("[data-test-id=login-username]").type(username);
cy.get("[data-test-id=login-password]").type(password);
@@ -57,7 +57,7 @@ context("Login tests", () => {
});
context("Successful logout", () => {
it("logs out", {retries: 3}, () => {
it("logs out", () => {
// login
login(username, password);