`testFailed` does not work with detox@20
Open
- Dominant language
- Java
- Stars
- 34
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Thanks for the example application.
Currently I am facing the error ReferenceError: testFailed is not defined while running my tests
If I comment testFailed flag in the below code everything is working fine but missing the feature of only taking screenshot for failed test cases.
here is my code, please suggest how to solve this issue.
ReferenceError: testFailed is not defined
1 |
2 | afterEach(async () => {
> 3 | if (testFailed) {
| ^
4 | await device.takeScreenshot('screenshot');
5 | }
6 | });
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.