Skip to content

Commit

Permalink
Defined retriability and improved test
Browse files Browse the repository at this point in the history
  • Loading branch information
keeema committed Aug 25, 2020
1 parent f629396 commit be9bb68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cypress.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"retries": {
"runMode": 2,
"openMode": 0
},
"testFiles": "**/*.spec.ts",
"pluginsFile": "cypress/plugins/index.js",
"supportFile": "cypress/support/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/examples/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
});

0 comments on commit be9bb68

Please sign in to comment.