mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
tests(runner): support DEBUGP for timing out tests (#1324)
This commit is contained in:
parent
0d2ae91fac
commit
16d5a9cb24
@ -201,6 +201,10 @@ class Reporter {
|
||||
console.log(`${prefix} ${colors.yellow('[MARKED AS FAILING]')} ${test.fullName} (${formatLocation(test.location)})`);
|
||||
} else if (test.result === 'timedout') {
|
||||
console.log(`${prefix} ${colors.red(`[TIMEOUT ${test.timeout}ms]`)} ${test.fullName} (${formatLocation(test.location)})`);
|
||||
if (test.output) {
|
||||
console.log(' Output:');
|
||||
console.log(padLines(test.output, 4));
|
||||
}
|
||||
} else if (test.result === 'failed') {
|
||||
console.log(`${prefix} ${colors.red('[FAIL]')} ${test.fullName} (${formatLocation(test.location)})`);
|
||||
if (test.error instanceof MatchError) {
|
||||
|
Loading…
Reference in New Issue
Block a user