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

configure to only keep videos on fail test scripts #397

Open
garifo opened this issue Apr 11, 2018 · 2 comments
Open

configure to only keep videos on fail test scripts #397

garifo opened this issue Apr 11, 2018 · 2 comments

Comments

@garifo
Copy link

garifo commented Apr 11, 2018

How to configure to only keep the videos of the test scripts that fail? or an easy way to correlate the fail test case to the recorded video.

@smccarthy
Copy link
Collaborator

Selenium Grid Extras does not know if your test passed or failed. I forget if there is a delete video endpoint. I guess ideally, we would pass in the selenium session id to this endpoint, to delete videos. It would be up to the users of Selenium-Grid-Extras to call this endpoint in their afterEach (or where ever) methods.

@garifo
Copy link
Author

garifo commented May 18, 2018

thanks
I was able to capture the sessionid to build the video url on the test results for the fail test cases.

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

No branches or pull requests

2 participants