diff --git a/cypress.json b/cypress.json index 7908411..4dc5e1a 100644 --- a/cypress.json +++ b/cypress.json @@ -1,4 +1,8 @@ { + "retries": { + "runMode": 2, + "openMode": 0 + }, "testFiles": "**/*.spec.ts", "pluginsFile": "cypress/plugins/index.js", "supportFile": "cypress/support/index.ts" diff --git a/cypress/integration/examples/test.spec.ts b/cypress/integration/examples/test.spec.ts index 9001509..061199a 100644 --- a/cypress/integration/examples/test.spec.ts +++ b/cypress/integration/examples/test.spec.ts @@ -2,6 +2,6 @@ describe("Example", () => { it("test", () => { const testString = "test-string"; - cy.wrap(testString).should("exist", testString).customCommand(); + cy.wrap(testString).should("equal", testString).customCommand(); }); });