Skip to content

Commit

Permalink
fix: artifact uploading prevents playwright run status update
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr13 committed Oct 10, 2024
1 parent 52da6c9 commit 6ed60fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/adapter/playwright.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class PlaywrightReporter {
if (!this.client) return;

await Promise.all(reportTestPromises);
await this.client.updateRunStatus(checkStatus(result.status));

if (!this.uploads.length) return;

Expand Down Expand Up @@ -135,8 +136,6 @@ class PlaywrightReporter {
);
}
await Promise.all(promises);

await this.client.updateRunStatus(checkStatus(result.status));
}
}

Expand Down

0 comments on commit 6ed60fc

Please sign in to comment.