-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#160: Fix compatibility with cypress-grep.
- Loading branch information
Showing
14 changed files
with
754 additions
and
9 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
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
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
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,9 @@ | ||
describe('Cypress grep', () => { | ||
it("run only this", () => { | ||
cy.visit('/'); | ||
cy.contains('cypress', { timeout: 1 }); | ||
}) | ||
it("this should be skipped", () => { | ||
cy.log('should not be logged'); | ||
}) | ||
}) |
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
2 changes: 2 additions & 0 deletions
2
test/output_nested_cypress_grep_spec/custom/cypressGrep.spec.cst
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,2 @@ | ||
Specs: | ||
cypress/integration/cypressGrep.spec.js |
16 changes: 16 additions & 0 deletions
16
test/output_nested_cypress_grep_spec/json/cypressGrep.spec.json
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,16 @@ | ||
{ | ||
"cypress/integration/cypressGrep.spec.js": { | ||
"Cypress grep -> run only this": [ | ||
{ | ||
"type": "cy:command", | ||
"severity": "success", | ||
"message": "visit\t/" | ||
}, | ||
{ | ||
"type": "cy:command", | ||
"severity": "success", | ||
"message": "contains\tcypress" | ||
} | ||
] | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
test/output_nested_cypress_grep_spec/txt/cypressGrep.spec.txt
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,5 @@ | ||
cypress/integration/cypressGrep.spec.js: | ||
Cypress grep -> run only this | ||
cy:command (K): visit / | ||
cy:command (K): contains cypress | ||
|
Oops, something went wrong.