Ignore failing tests in stale-screenshot-reporter.ts to avoid confusing errors
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/28925/head
parent
30c82d8714
commit
0f5e135224
|
@ -23,6 +23,7 @@ class StaleScreenshotReporter implements Reporter {
|
|||
private success = true;
|
||||
|
||||
public onTestEnd(test: TestCase): void {
|
||||
if (!test.ok()) return;
|
||||
for (const annotation of test.annotations) {
|
||||
if (annotation.type === "_screenshot") {
|
||||
this.screenshots.add(annotation.description);
|
||||
|
|
Loading…
Reference in New Issue