forked from Archives/Athou_commafeed
upload playwright artifacts on test failure to help debug what went wrong
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -40,6 +40,14 @@ jobs:
|
||||
name: commafeed.jar
|
||||
path: commafeed-server/target/commafeed.jar
|
||||
|
||||
- name: Upload Playwright artifacts
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: playwright-artifacts
|
||||
path: |
|
||||
**/target/playwright-artifacts/
|
||||
|
||||
# Docker
|
||||
- name: Login to Container Registry
|
||||
uses: docker/login-action@v3
|
||||
|
||||
@@ -34,7 +34,7 @@ import com.microsoft.playwright.Tracing;
|
||||
*
|
||||
*/
|
||||
@ExtendWith(PlaywrightTestBase.SaveArtifactsOnTestFailed.class)
|
||||
public class PlaywrightTestBase {
|
||||
public abstract class PlaywrightTestBase {
|
||||
|
||||
private static Playwright playwright;
|
||||
private static Browser browser;
|
||||
|
||||
Reference in New Issue
Block a user