Skip to content

Conversation

@QZera
Copy link
Collaborator

@QZera QZera commented Jan 30, 2025

Records failed tests and uploads them as artefacts during a CI run

@QZera QZera self-assigned this Jan 30, 2025
- Records videos of failed e2e tests in test/e2e/_results_/videos
- Saves recorded videos as artifacts in GitHub Actions

Signed-off-by: Zacharias Fragkiadakis <[email protected]>
@QZera QZera force-pushed the feat/record-tests branch from 631f327 to d6940e8 Compare January 30, 2025 06:57
@QZera QZera marked this pull request as ready for review January 31, 2025 06:25
@QZera QZera requested a review from maninak January 31, 2025 06:25
reporters: ['spec'],
reporters: [
'spec',
['video', { outputDir: path.join(e2eTestDirPath, '_results_', 'videos') }],
Copy link
Collaborator Author

@QZera QZera Jan 31, 2025

Choose a reason for hiding this comment

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

@maninak Let me know if you prefer we use a different outputDir (like somewhere in node_modules)

RAD_PATH: ${{ github.workspace }}/.radicle/bin/rad
run: pnpm test:e2e

- name: Save fails report
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copied this from radicle-jetbrains-plugin (Source)

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.

2 participants