chore(bidi): consider dymamic annations for .csv report (#35560)

This commit is contained in:
Yury Semikhatsky 2025-04-09 15:50:27 -07:00 committed by GitHub
parent 9c01e1cbc8
commit c84bb713a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ class CsvReporter implements Reporter {
for (const file of project.suites) {
for (const test of file.allTests()) {
// Report fixme tests as failing.
const fixme = test.annotations.find(a => a.type === 'fixme');
const annotations = [...test.annotations, ...test.results.map(r => r.annotations).flat()];
const fixme = annotations.find(a => a.type === 'fixme');
if (test.ok() && !fixme)
continue;
const row = [];