add annotation
This commit is contained in:
parent
4d13eb5d58
commit
9593947555
|
|
@ -735,7 +735,7 @@ test('step attachments are referentially equal to result attachments', async ({
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('attachments are reported in onStepEnd', async ({ runInlineTest }) => {
|
test('attachments are reported in onStepEnd', { annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/14364' } }, async ({ runInlineTest }) => {
|
||||||
class TestReporter implements Reporter {
|
class TestReporter implements Reporter {
|
||||||
onStepEnd(test: TestCase, result: TestResult, step: TestStep) {
|
onStepEnd(test: TestCase, result: TestResult, step: TestStep) {
|
||||||
console.log(`%%${step.title}: ${result.attachments.length} attachments in result`);
|
console.log(`%%${step.title}: ${result.attachments.length} attachments in result`);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue