Skip to content
Snippets Groups Projects
Commit 337d38b9 authored by ilyaukin's avatar ilyaukin
Browse files

Add error message to atk_reporter

parent 157d2c0f
Branches
Tags 2.0.0-alpha5
No related merge requests found
......@@ -122,7 +122,12 @@ class AtkReporter {
* @param result {import('@playwright/test/reporter').TestResult}
*/
onTestEnd(test, result) {
this.debug('Test %s: %s', result.status, test.title)
this.debug(
'Test %s: %s%s',
result.status,
test.title,
result.status === 'failed' ? `\n${result.error.stack}` : '',
)
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment