Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to set screenshot filename formats for screenshots generated by on_failure and on_error #1620

Closed
andyr700 opened this issue Oct 26, 2017 · 1 comment
Labels

Comments

@andyr700
Copy link

Is there any ability to set the format of the screenshot filenames created by nightwatch? The documentation currently only shows the ability to configure the following: enabled, path, on_failure, on_error.

It would be nice to be able to have another one for 'filenameformat' or something similar. Currently it creates files with the following:

<test_name>_FAILED_Oct-26-2017-095542-GMT+0000-(Coordinated-Universal.png

Our Jenkins build creates a download link to these files along with the other build artifacts after a failed build and the current format is causing 404 errors trying to retrieve them, meaning we actually have to RDP onto the build server to retrieve them.

Also not sure what is causing the last ) to not be there.

Documentation link used: https://github.com/nightwatchjs/nightwatch-docs/blob/master/gettingstarted/configuration/config-test-settings.md

Thanks.

@stale
Copy link

stale bot commented Nov 14, 2018

This issue has been automatically marked as stale because it has not had any recent activity.
If possible, please retry using the latest Nightwatch version and update the issue with any relevant details. If no further activity occurs, it will be closed. Thank you for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant