Skip to content

test: fix screenshot integration test for native#1640

Merged
jpnurmi merged 1 commit intomasterfrom
jpnurmi/test/screenshot-native
Apr 13, 2026
Merged

test: fix screenshot integration test for native#1640
jpnurmi merged 1 commit intomasterfrom
jpnurmi/test/screenshot-native

Conversation

@jpnurmi
Copy link
Copy Markdown
Collaborator

@jpnurmi jpnurmi commented Apr 13, 2026

The existing inproc & breakpad tests assert for a screenshot file in the database. For native, the integration test was skipped:

Native daemon cleans up run folder after processing so the screenshot file is no longer on disk

Add an alternative native test variant that captures the envelope instead, and asserts on a screenshot attachment. It's similar to the crashpad test variant but using a different endpoint and upload format.

@jpnurmi jpnurmi merged commit e7e9335 into master Apr 13, 2026
61 checks passed
@jpnurmi jpnurmi deleted the jpnurmi/test/screenshot-native branch April 13, 2026 10:58
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

Successfully merging this pull request may close these issues.

3 participants