chore(bidi): consider dymamic annations for .csv report (#35560)
This commit is contained in:
parent
9c01e1cbc8
commit
c84bb713a6
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in New Issue