Skip to content

test(gui): capture and store video for failed scenarios - #906

Merged
saw-jan merged 1 commit into
mainfrom
test/screenrecording
May 18, 2026
Merged

saw-jan merged 1 commit into
mainfrom
test/screenrecording

Conversation

@prashant-gurung899

@prashant-gurung899 prashant-gurung899 commented May 14, 2026 •

Copy link
Copy Markdown
Member

Part of: #861

This PR adds a screenrecorder helper.
Adds a before_scenario hook to start recording and only save the video if the scenario fails.
"

Use the python packages: mss and inputio-ffmpeg

@prashant-gurung899 prashant-gurung899 self-assigned this May 14, 2026
@prashant-gurung899
prashant-gurung899 force-pushed the test/screenrecording branch 2 times, most recently from a133ae5 to 5fcadf4 Compare May 15, 2026 10:39
Comment thread test/gui/environment.py Resolved
Comment thread test/gui/environment.py Resolved
Comment thread test/gui/environment.py Resolved
@prashant-gurung899
prashant-gurung899 force-pushed the test/screenrecording branch 3 times, most recently from 23c4515 to 5b2fba3 Compare May 15, 2026 11:30
@prashant-gurung899
prashant-gurung899 marked this pull request as ready for review May 15, 2026 11:30
Comment thread test/gui/helpers/ScreenRecorder.py Resolved
Comment thread test/gui/helpers/ScreenRecorder.py Resolved

@saw-jan saw-jan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ I really need this for debugging. ❤️

Comment thread test/gui/helpers/ScreenRecorder.py Resolved
Comment thread test/gui/woodpecker/gui_test_reports.sh Resolved

@saw-jan saw-jan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 recording is working ✨

@saw-jan
saw-jan merged commit 8cd7a47 into main May 18, 2026
10 of 12 checks passed
@saw-jan
saw-jan deleted the test/screenrecording branch May 18, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants