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

test(e2e): record failed tests #175

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

test(e2e): record failed tests #175

wants to merge 1 commit into from

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)

@@ -90,3 +90,11 @@ jobs:
env:
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.

None yet

1 participant