-
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.
#91: Introduce support of logging to files for cypress fail fast.
- Loading branch information
Showing
11 changed files
with
134 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Specs: | ||
cypress/integration/requests.spec.js |
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,31 @@ | ||
{ | ||
"cypress/integration/requests.spec.js": { | ||
"Requests. -> GET 200": [ | ||
{ | ||
"type": "cy:request", | ||
"severity": "success", | ||
"message": "https://jsonplaceholder.cypress.io/todos/1\nStatus: 200\nResponse body: {\n \"userId\": 1,\n \"id\": 1,\n \"title\": \"delectus aut autem\",\n \"completed\": false\n}" | ||
}, | ||
{ | ||
"type": "cy:request", | ||
"severity": "success", | ||
"message": "GET https://jsonplaceholder.cypress.io/todos/2\nStatus: 200\nResponse body: {\n \"userId\": 1,\n \"id\": 2,\n \"title\": \"quis ut nam facilis et officia qui\",\n \"completed\": false\n}" | ||
}, | ||
{ | ||
"type": "cy:request", | ||
"severity": "success", | ||
"message": "GET https://jsonplaceholder.cypress.io/todos/3\nStatus: 200\nResponse body: {\n \"userId\": 1,\n \"id\": 3,\n \"title\": \"fugiat veniam minus\",\n \"completed\": false\n}" | ||
}, | ||
{ | ||
"type": "cy:command", | ||
"severity": "error", | ||
"message": "get\t.breaking-get" | ||
}, | ||
{ | ||
"type": "cy:command", | ||
"severity": "success", | ||
"message": "task\tfailFastShouldSkip, true" | ||
} | ||
] | ||
} | ||
} |
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,29 @@ | ||
cypress/integration/requests.spec.js: | ||
Requests. -> GET 200 | ||
cy:request (K): https://jsonplaceholder.cypress.io/todos/1 | ||
Status: 200 | ||
Response body: { | ||
"userId": 1, | ||
"id": 1, | ||
"title": "delectus aut autem", | ||
"completed": false | ||
} | ||
cy:request (K): GET https://jsonplaceholder.cypress.io/todos/2 | ||
Status: 200 | ||
Response body: { | ||
"userId": 1, | ||
"id": 2, | ||
"title": "quis ut nam facilis et officia qui", | ||
"completed": false | ||
} | ||
cy:request (K): GET https://jsonplaceholder.cypress.io/todos/3 | ||
Status: 200 | ||
Response body: { | ||
"userId": 1, | ||
"id": 3, | ||
"title": "fugiat veniam minus", | ||
"completed": false | ||
} | ||
cy:command (X): get .breaking-get | ||
cy:command (K): task failFastShouldSkip, true | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 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