v0.6.3 fails to generate screenshots / throws JS exception
See original GitHub issueWhat are you trying to achieve?
Get failure screenshots with CodeceptJS 0.6.3. Note: Downgrading to 0.6.2 fixes the issue, so it must be related to some commits in between.
What do you get instead?
No screenshots, output directory is empty, failed test always shows a javascript error/exception at the end, which might prevent the screenshot from being generated
Error: Error: Unexpected token ')'
Provide console output if related. Use
--verbose
mode for more details.
address-update - test email fields - enGB
• I am on page "xxxxxxxxxxxxxxxxxxxxxxxxxx"
[...]
• I see "Email addresses do not match", ".alt_confirm_email .parsley-errors-list"
Error: Unexpected token ')'
✖ FAILED in 1666ms
Details
- CodeceptJS version: 0.6.3
- NodeJS Version: v7.10.0
- Operating System: Debian Linux (inside a docker container)
- WebDriverIO: 4.7.1 (happens with 4.8.0 also)
- Configuration file:
exports.config = {
"tests": "./xxxxxxxxxxxxxxxxxxx/tests/frontend/*_test.js",
"timeout": 10000,
"output": "./xxxxxxxxxxxxxxxxxxx/tests/frontend/output",
"helpers": {
"WebDriverIO": {
"url": process.env.TEST_HOST || "http://xxxxxxxxxxxxxxxxxxx:8080",
"browser": "chrome",
"windowSize": "1024x768"
}
},
"include": {},
"bootstrap": false,
"mocha": {
"reporterOptions": {
"mochaFile": "./xxxxxxxxxxxxxxxxxxx/tests/frontend/output/codecept-results.xml"
}
},
"name": "frontend"
};
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
v0.6.3 fails to generate screenshots / throws JS exception #593
Get failure screenshots with CodeceptJS 0.6.3. Note: Downgrading to 0.6.2 fixes the issue, so it must be related to some commits in between....
Read more >Unable to capture objects : Web Driver Exception
I am using Katalon V5.6.3 Appium Version 1.7.2 Android SDK: 28.0.2 ... Original error: Cannot get screenshot data because of 'The size of ......
Read more >aframe - JavaScript error when generating A-Frame screenshots
The screenshot component is not initialized by the time you try to access its member function. Try creating a new component consisting of ......
Read more >react native reanimated build error - You.com | The search engine ...
When I installed it with yarn add react-native-reanimated@next , I got the same error because the specific version has not been specified to...
Read more >Change log for 4.8.33
Bug 2051576: Requeue create on invalid credentials errors #253 ... update terraform-provider-ironic to v0.2.5 to get better error handling #4835 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems to be fixed in 1.0.0 - i’m getting screenshots again on failures. Thanks a lot!
@foobarth Please test it with 1.0.0 and send us feedback