Skip to content

Commit

Permalink
chore(bidi): update setContent expectations for ff (#32992)
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s authored Oct 8, 2024
1 parent 892d67f commit bcf4ff1
Show file tree
Hide file tree
Showing 5 changed files with 862 additions and 4,717 deletions.
3 changes: 2 additions & 1 deletion tests/bidi/expectationReporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class ExpectationReporter implements Reporter {
const outcome = getOutcome(test);
// Strip root and project names.
const key = test.titlePath().slice(2).join(' › ');
if (!expectations.has(key) || expectations.get(key) === 'unknown')
if (!expectations.has(key) || expectations.get(key) === 'unknown' ||
(expectations.get(key) === 'fail' && outcome === 'pass'))
expectations.set(key, outcome);
}
const keys = Array.from(expectations.keys());
Expand Down
Loading

0 comments on commit bcf4ff1

Please sign in to comment.