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

Upload playwright results in PR builds #1881

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

dscho
Copy link
Member

@dscho dscho commented Sep 26, 2024

Changes

For ease of debugging test failures in the Playwright tests, let's upload the results also in PR builds (we already publish them as build artifacts in the playwright workflow as well as when deploying the site).

Context

When I was working on #1878, I was puzzled about some test failures in the Playwright tests. When I found out, it was quite obvious that I had forgotten to update the test accordingly, but I had to recreate the test failure locally because the test results had not been made available as a build artifact.

We do that in all other workflows that run the Playwright tests, and it
is very helpful when diagnosing issues (especially the screenshots that
are stored on failure).

This needs a slight change in the Playwright configuration where we now
want to have the `github` reporter _in addition_ to the `html` reporter
(and not instead of it).

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho self-assigned this Sep 26, 2024
Copy link
Member

@ttaylorr ttaylorr left a comment

Choose a reason for hiding this comment

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

😍

@ttaylorr ttaylorr merged commit ca3b63f into git:gh-pages Sep 26, 2024
1 check passed
@dscho dscho deleted the upload-playwright-results-in-pr-builds branch September 26, 2024 15:41
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