This commit is contained in:
Yury Semikhatsky 2024-09-10 17:18:46 -07:00
parent 3b325f2e55
commit 5c8a767d20
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ import { projectExpectationPath } from './expectationUtil';
type ReporterOptions = {
rebase?: boolean;
}
};
class ExpectationReporter implements Reporter {
private _suite: Suite;

View file

@ -16,7 +16,7 @@
import fs from 'fs';
import path from 'path';
import { TestInfo } from 'playwright/test';
import type { TestInfo } from 'playwright/test';
type ShouldSkipPredicate = (info: TestInfo) => boolean;
@ -42,7 +42,7 @@ export async function parseBidiExpectations(projectName: string): Promise<Should
const key = [info.project.name, ...info.titlePath].join(' ');
const expectation = expectationsMap.get(key);
return expectation === 'fail' || expectation === 'timeout';
}
};
}
export function projectExpectationPath(project: string): string {