diff --git a/packages/playwright/src/common/test.ts b/packages/playwright/src/common/test.ts index bfa50f6d00..806c74a12e 100644 --- a/packages/playwright/src/common/test.ts +++ b/packages/playwright/src/common/test.ts @@ -296,7 +296,7 @@ export class TestCase extends Base implements reporterTypes.TestCase { return 'expected'; if (failures.length === results.length) // all failed return 'unexpected'; - if (failures.length && skipped.length && !passed.length) // some failed, none succedded and the rest where skipped + if (failures.length && skipped.length && !passed.length) // some failed, none succeeded and the rest were skipped return 'unexpected'; return 'flaky'; // mixed bag }