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

[gui-tests][full-ci] configurable capture video for GUI tests #11857

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

saw-jan
Copy link
Member

@saw-jan saw-jan commented Sep 4, 2024

This PR adds an option to capture the screen during test execution. By default the option is disabled and it can be enabled using SCREEN_RECORD_ON_FAILURE either env or config.ini.

If the option is enabled, the screen recording will be available if the test scenario fails. If the test scenario passes, there will be screen recording deleted.

This helps in debugging the failing GUI tests.

Fixes #9532

@saw-jan saw-jan added the QA:team label Sep 4, 2024
@saw-jan saw-jan self-assigned this Sep 4, 2024
@saw-jan saw-jan force-pushed the tests/video-capture branch 6 times, most recently from 2689b1d to 146c9ec Compare September 4, 2024 10:51
@saw-jan saw-jan changed the title [gui-tests] configurable capture video for GUI tests [gui-tests][full-ci] configurable capture video for GUI tests Sep 4, 2024
@saw-jan saw-jan marked this pull request as ready for review September 4, 2024 11:23
test: log video reports

test: fix report dir path
@saw-jan saw-jan merged commit 7041dcd into master Sep 9, 2024
6 checks passed
@saw-jan saw-jan deleted the tests/video-capture branch September 9, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance test run screenshot that will give more insight on AUT crash
2 participants