-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix #231 - using local coordinate system when taking a screenshot …
…on Android (thanks to @youssef-t for the solution) - Fix #216 - ensure step exceptions and `expect` failure results are added as errors to the json report - Scenarios can now have descriptions which also appear in the json reporter output
- Loading branch information
1 parent
b73da40
commit 7ee9f80
Showing
15 changed files
with
2,423 additions
and
68 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
16 changes: 16 additions & 0 deletions
16
example_with_integration_test/integration_test/features/failure.feature
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 @@ | ||
@debug | ||
Feature: Expect failure | ||
Ensure that when a test fails the exception or test failure is reported | ||
|
||
Scenario: Exception should be added to json report | ||
Given I expect the todo list | ||
| Todo | | ||
| Buy blueberries | | ||
When I tap the "add" button | ||
And I fill the "todo" field with "Buy hannah's apples" | ||
|
||
Scenario: Failed expect() should be added to json report | ||
Description for this scenario! | ||
When I tap the "add" button | ||
And I fill the "todo" field with "Buy hannah's apples" | ||
Then I expect a failure |
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
1 change: 1 addition & 0 deletions
1
example_with_integration_test/integration_test/gherkin/reports/2022-07-01T13-22-35-v1.json
Large diffs are not rendered by default.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
example_with_integration_test/integration_test/gherkin/reports/package.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,36 @@ | ||
{ | ||
"name": "reports", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"cucumber-html-reporter": "^5.5.0" | ||
}, | ||
"dependencies": { | ||
"ansi-styles": "^3.2.1", | ||
"chalk": "^2.4.2", | ||
"color-convert": "^1.9.3", | ||
"color-name": "^1.1.3", | ||
"escape-string-regexp": "^1.0.5", | ||
"find": "^0.3.0", | ||
"fs-extra": "^8.1.0", | ||
"graceful-fs": "^4.2.10", | ||
"has-flag": "^3.0.0", | ||
"is-wsl": "^1.1.0", | ||
"js-base64": "^2.6.4", | ||
"jsonfile": "^5.0.0", | ||
"lodash": "^4.17.21", | ||
"node-emoji": "^1.11.0", | ||
"open": "^6.4.0", | ||
"supports-color": "^5.5.0", | ||
"traverse-chain": "^0.1.0", | ||
"universalify": "^0.1.2", | ||
"uuid": "^3.4.0" | ||
}, | ||
"description": "" | ||
} |
Oops, something went wrong.