New feature
-
Added pause and debug capabilities - #3243
Pause mode
Add a pause() command to pause your tests indefinitely. In pause mode, you can check the state of your browser or use DevTools to debug. You can also see step-by-step execution from the paused state where the test automatically pauses at the next step.
Note: The current pause command usage stays as is. You can pass the duration of the pause and the test will pause only for that duration on the mentioned devices.
Debug mode
Add a debug() command to pause your test at that step. The debug mode also allows you to check the state of the browser and use DevTools. Furthermore, it offers you an interface to try out nightwatch commands and assertions while your test is paused.
Improvements & Fixes
- Added actionable error messages - #3233
Redesigned error messages for improved context, relevant documentation and mitigation steps to fix the error. - Fixed #3177 – additional options in config does not getting passed to cucumber runner
- Added support for waitUntil to use a custom message for timeout errors (4b79d79)