Skip to content

Commit

Permalink
chore(test): increment trace names upon retry (#8767)
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Lazar <[email protected]>
  • Loading branch information
cbr7 authored Sep 6, 2024
1 parent 1949bc2 commit 923ea78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/playwright/src/runner/podman-desktop-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,10 @@ export class Runner {

public setVideoAndTraceName(name: string): void {
this._videoAndTraceName = name;

if (test.info().retry > 0) {
this._videoAndTraceName += `_retry${test.info().retry}`;
}
}

public getTestOutput(): string {
Expand Down

0 comments on commit 923ea78

Please sign in to comment.