chore: rephrase suggestion for slow test files
Fixes https://github.com/microsoft/playwright/issues/33993
This commit is contained in:
parent
d4b2c966cf
commit
d08acedb38
|
|
@ -258,7 +258,7 @@ export class BaseReporter implements ReporterV2 {
|
||||||
console.log(colors.yellow(' Slow test file: ') + file + colors.yellow(` (${milliseconds(duration)})`));
|
console.log(colors.yellow(' Slow test file: ') + file + colors.yellow(` (${milliseconds(duration)})`));
|
||||||
});
|
});
|
||||||
if (slowTests.length)
|
if (slowTests.length)
|
||||||
console.log(colors.yellow(' Consider splitting slow test files to speed up parallel execution'));
|
console.log(colors.yellow(' Consider running more tests in parallel from slow test files, see https://playwright.dev/docs/test-parallel.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
private _printSummary(summary: string) {
|
private _printSummary(summary: string) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue