Skip to content

feat(test): add test.describe.fail and the fail option on describe - #1925

Merged
okwasniewski merged 6 commits into
e2e-inc:mainfrom
Vishwas1345:feat/describe-fail
Nov 21, 2026
Merged

okwasniewski merged 6 commits into
e2e-inc:mainfrom
Vishwas1345:feat/describe-fail

Conversation

@Vishwas1345

@Vishwas1345 Vishwas1345 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What and why

  • Closes the test.describe.fail('legacy', fn) row of ☂️ Help us bring missing APIs to e2e #1855: mark every test in a group expected to fail.
  • describe now takes the fail option, the way it already takes skip. describe.fail(title, fn) is shorthand for fail: true, as test.fail(title, fn) is for a test. A reason goes in the option.
  • A test reads fail from its groups as well as itself (packages/e2e/src/collect/select.ts:165). Any truthy layer marks it and the innermost reason wins. fail: false does not unmark, same as skip.
  • Each test is still judged on its own: a failure passes it, a pass fails it with UNEXPECTED_PASS.
  • Refused on, inside, or around a serial group, since a serial member cannot be marked.
describe.fail('legacy checkout', () => {
  test('pays by card', async ({ app, browser }) => {});   // expected to fail
});
describe('legacy refunds', { fail: 'refund API not ported yet' }, () => {});

Issue

Part of #1855 (Test runner: test.describe.fail('legacy', fn)).

Verified

Ran it locally: yes

A small page in Chromium through the built CLI (node packages/e2e/dist/cli/bin.js run): the legacy card payment is broken, the coupon was fixed, refunds were never ported.

 ✓ |web| tests/checkout.e2e.ts > legacy checkout > pays by card (failed as expected) 2.45s
     → expected to fail: ASSERTION_FAILED: expect.toHaveText failed
 × |web| tests/checkout.e2e.ts > legacy checkout > applies a coupon 131ms
     → test is marked test.fail ("expected to fail") but passed; remove the mar…
 ✓ |web| tests/checkout.e2e.ts > legacy refunds > refunds an order (failed as expected) 2.16s
     → refund API not ported yet: ASSERTION_FAILED: expect.toHaveText failed
 ✓ |web| tests/checkout.e2e.ts > modern checkout pays 123ms
  • Exit code 1 from the unexpected pass. report.json carries each result's expectedFailure reason, and none on the test outside the groups.
  • A serial group inside describe.fail stops the run before anything executes (exit 2): a serial group cannot sit inside a group marked fail; its members cannot be expected to fail.

Checklist

  • Changeset added (pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only.
  • Breaking change: title carries !, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md).
  • Docs updated in the same PR: the docs/**/*.mdx page for the behavior, and skills/e2e/ if the skill describes it.
  • Contract change: emitted .d.ts reviewed, tests/types/sdk-types.ts updated; wire change edits the schema and both fixtures.
  • Engine contract change (e2e/engine): changesets for e2e, @e2e-dev/web, and @e2e-dev/mobile.

🤖 Generated with Claude Code

View guided diff

@github-actions github-actions Bot added the size:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile label Nov 18, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 16 files

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

View guided diff | Re-trigger cubic

Comment thread packages/e2e/tests/unit/select.test.ts Resolved
Comment thread docs/zh/reference/test.mdx Resolved
Comment thread docs/ja/migrate/playwright.mdx Resolved
Comment thread docs/ja/reference/test.mdx Resolved
Comment thread docs/zh/migrate/playwright.mdx Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 1 file (changes from recent commits).

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

View guided diff | Re-trigger cubic

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[claude-opus-5-5] automated review on behalf of @okwasniewski

Checked at 3dc828d (main 6fbcb66): code, docs, types, tests, and Playwright 1.65.1 test.d.ts for parity. Clean merge on main. Nice work, the resolution goes through the one resolveOptions path every consumer (runner, reports, MCP) already reads, and the serial rules match the test-level ones.

Must fix

None.

Should fix

  • packages/e2e/src/collect/registry.ts:700 - the as DescribeAPI cast isn't needed. Give groupRegistrar a : DescribeRegistrar return type (as registrar has : TestRegistrar) and write const describe: DescribeAPI = Object.assign(...). tsc --noEmit passes in packages/e2e with that change, so the compiler checks the call forms instead of trusting the cast.
  • packages/core/src/internal/expected-failure.ts:42 - Playwright's group form is test.fail(condition, 'reason') called in a describe body (there is no test.describe.fail upstream), so a migrating user hits this collection error first. It still says to "use test.fail(title, fn) or pass { fail: true } ... as the test option". Point it at describe.fail(title, fn) / describe(title, { fail: 'reason' }, fn) too.

Nits

  • A group mark that passes still reports test is marked test.fail (...) but passed. Fine as it is, but describe.fail users may not find the mark on the test. Up to you.
  • ja/zh prose: English placeholders are allowed by the translation rules and docs:check passes, so the cubic threads are not blockers. Applying cubic's two ready-made migrate-row suggestions costs nothing, though.
  • Migrate row: Playwright users usually mark a group conditionally (test.fail(({ browserName }) => ..., 'reason')). Collection runs the same on every platform, so the e2e equivalent is beforeEach(({ platform }) => test.fail(platform === 'web', 'reason')). A short hint in that row would save a search.

Verified

  • vitest run tests/unit/registry.test.ts tests/unit/select.test.ts tests/integration/expected-failure.test.ts: 104/104 pass. tsc --noEmit in packages/e2e (includes tests/types/sdk-types.ts) is clean. oxlint, docs:check (translations outline), check:changeset-bumps, and plugins:check all pass.
  • Mutants, each killed by a new test: group layers ignored (back to test.options.fail), outer reason wins, no "serial inside a fail group" check, no "fail on a serial group" check, describe.fail not adding fail: true.
  • cubic select.test thread: really fixed. The 'coupon API' inner-group case catches the outer-wins mutant.
  • Fork CI is still waiting for approval. Only check/label/pr-size ran (green).

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 18, 2026
@Vishwas1345

Vishwas1345 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Thanks for the review. Pushed d387d0a:

  • Cast: groupRegistrar now returns DescribeRegistrar and describe is typed const describe: DescribeAPI = Object.assign(...), no as.
  • Collection error: test.fail(condition) outside a body now says to use test.fail(title, fn) or describe.fail(title, fn), or a { fail } test or describe option. A new assertion in registry.test.ts pins it and fails on the old message.
  • Migrate row: added the conditional form, test.fail(condition, 'reason') in a beforeEach, and took cubic's two ja/zh row translations.
  • UNEXPECTED_PASS wording: left as is. It's the message test.fail already uses, and a group's reason shows in it. Happy to reword it in a follow-up if you'd like.

pnpm check and pnpm --filter e2e test pass locally (5009 tests).

@github-actions github-actions Bot removed the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 18, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 6 files (changes from recent commits).

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

View guided diff | Re-trigger cubic

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[claude-opus-5-5] automated review on behalf of @okwasniewski

Re-checked at d387d0a against main 847a09e. All three earlier asks are done, and nothing new turned up in the new commits.

Must fix

  • Rebase on main. #1891 (on-demand and worker fixtures) landed, and the PR now conflicts in packages/core/src/types.ts, packages/e2e/src/collect/registry.ts and docs/{,ja/,zh/}reference/test.mdx. Both code conflicts are mechanical:
    • types.ts: TestAPI is now TestAPI<Fixtures, Worker>. Keep main's extend<Extra, ExtraWorker> and its beforeEach/afterEach/beforeAll/afterAll signatures (TestHookFn<Fixtures & Worker> / TestHookFn<Worker>, not SuiteHookFn), and replace only the two describe overloads with describe: DescribeAPI.
    • registry.ts: drop main's inline describe() method for your describe, and keep main's beforeEach(fn: TestBody) typing (TestBody is main's alias for TestHookFn<object>).
    • Re-run tsc --noEmit in packages/e2e after the rebase, since tests/types/sdk-types.ts also auto-merges with #1891's changes.

Should fix

None.

Verified

  • Earlier asks: the as DescribeAPI cast is gone (groupRegistrar(...): DescribeRegistrar, const describe: DescribeAPI = ...). The collection error now names describe.fail(title, fn) and the describe option. The migrate row has the conditional test.fail(condition, 'reason') in beforeEach form, which matches how a beforeEach mark already works. cubic's ja/zh rows are applied. Leaving the UNEXPECTED_PASS wording as is works for me.
  • vitest run tests/unit/registry.test.ts tests/unit/select.test.ts tests/integration/expected-failure.test.ts: 104/104. tsc --noEmit in packages/e2e is clean.
  • Mutant: I reverted the collection-error text in core/src/internal/expected-failure.ts and rebuilt core. The new registry.test.ts assertion fails, so it bites.
  • #1891 interaction: none beyond the conflicts. resolveOptions in select.ts merges cleanly. A beforeAll (now with worker fixtures) that fails inside a describe.fail group is still a suite-phase error and not an expected failure, the same as for a { fail } test today.
  • cubic: no open findings. The 0-issue pass ran at d387d0a.
  • CI: fork CI at d387d0a still waits for approval. Only check/label/drop/cubic ran, all green.

@Vishwas1345

Copy link
Copy Markdown
Contributor Author

Rebased on main (402a615), now dbd8906. Took main's side in both conflicts and swapped only the two describe overloads for describe: DescribeAPI; registry.ts keeps beforeEach(fn: TestBody), and the same in the three test.mdx Types blocks. After the rebase: tsc --noEmit in packages/e2e is clean, pnpm check passes, pnpm --filter e2e test 5209 passed, web 856 and mobile 557 passed.

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[claude-opus-5-5] automated review on behalf of @okwasniewski

Re-checked at dbd8906 against main ae36939. The rebase on 402a615 was clean and the earlier asks still hold. #1882 (test.each/test.for) landed after it, though, so the PR conflicts again.

Must fix

  • Rebase on main again. #1882 conflicts in two places, both "keep both sides":
    • packages/e2e/src/collect/registry.ts: the type import needs DescribeRegistrar plus main's EachFn and EachRegistrar. After main's eachRegistrar, keep your groupRegistrar + const describe: DescribeAPI.
    • packages/e2e/tests/types/sdk-types.ts: keep main's test.each/test.for block. Then swap main's trailing // fail takes the same three shapes ...; describe and setup take no fail option. comment for your version, since describe now takes fail.
    • types.ts, the docs and the skills auto-merge.

Should fix

None.

Verified (on a local merge of the PR into main with the conflicts resolved as above)

  • tsc --noEmit in packages/e2e is clean. oxlint on the touched sources is clean. docs:check (180/180 translations), docs:check-errors, check:changeset-bumps and plugins:check pass.
  • vitest run tests/unit + the runner-lifecycle, test-source, on-demand-fixtures and expected-failure integration suites: 4216 passed, 2 skipped. A first run had one failure that did not come back on the re-run (shared machine).
  • Composition with #1882: a scratch case had test.each rows inside describe.fail and describe(..., { fail: 'why' }), plus a test.for row with its own fail. Each row resolved to the expected reason. Dropping the fail: true that describe.fail adds makes that case fail.
  • Composition with #1891 (fixture pool): nothing new since the last check. resolveOptions stays the one path for the mark.
  • Earlier asks at this head: no as DescribeAPI cast, the collection error points at describe.fail and the describe option, and the migrate row has the conditional form.
  • Playwright 1.65.1 test.d.ts: test.describe has only/skip/fixme/serial/parallel/configure but no fail. The upstream group form is test.fail(condition, reason) in a describe body, and the collection error and migrate row cover it. describe.fail is an e2e addition shaped like describe.fixme. Fine.
  • cubic: no open findings. CI: fork CI at dbd8906 waits for approval (spec, docs, docs translations, mobile, benchmark are action_required). check/label/drop/pr-policy/pr-size are green.

@Vishwas1345

Copy link
Copy Markdown
Contributor Author

Rebased on main (a5d1788), now 794b798.

After a fresh pnpm install: build, tsc --noEmit in packages/e2e and pnpm check pass. pnpm --filter e2e test: 5305 passed, 1 failed. The failure is step-hold.test.ts > "fails a held step the body never awaited, and lets its hold go", and it fails the same way on plain a5d1788 on this machine, while main's CI is green, so it looks local to my setup rather than this change.

@okwasniewski
okwasniewski dismissed their stale review November 20, 2026 10:19

Superseded by the latest automated re-check.

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[claude-opus-5-5] automated review on behalf of @okwasniewski

Re-checked at 794b798 against main a5d1788. The rebase is right. It keeps #1882 and #1921 intact and adds describe.fail on top. Nothing new to fix.

Must fix

None.

Should fix

None.

Verified

  • Conflict resolution: registry.ts imports DescribeAPI/DescribeRegistrar next to main's EachFn/EachRegistrar, and also keeps #1921's setRunningTestTimeout import. groupRegistrar and const describe: DescribeAPI come after eachRegistrar, with no cast. sdk-types.ts keeps the test.each/test.for block and the test.setTimeout lines, and has the updated fail comment. The migrate gap row loses test.fail() on a describe in en/ja/zh. #1921 already removed test.setTimeout() from that row, and its own mapping row is still there.
  • Merges clean into current main.
  • tsc --noEmit in packages/e2e is clean once @e2e-dev/web is built. oxlint on the touched sources is clean. docs:check, docs:check-errors, check:changeset-bumps and plugins:check pass.
  • vitest run tests/unit + the expected-failure, test-set-timeout, runner-lifecycle and test-source integration suites: 4223 passed, 2 skipped.
  • Scratch project at this head:
    • test.each rows inside describe.fail pass as expected failures with the default reason.
    • A test.for row with { fail: 'row reason' } keeps its own reason.
    • Inside describe(..., { fail: 'slow gap' }), a test that calls test.setTimeout(300) and then outlasts it, and a test that calls test.setTimeout(5000) and then fails, both pass as expected failures with slow gap. That matches the test-level { fail, timeout } case in expected-failure.test.ts.
  • Mutants, both killed: resolveOptions reads only test.options.fail (1 unit failure), and describe.fail drops its fail: true (3 unit failures).
  • cubic: no open findings. The earlier P2 was fixed. The P3 translation notes do not apply, because translations are best effort.
  • CI: fork CI at 794b798 is waiting for approval (spec, docs, docs translations, mobile, benchmark are action_required). check/label/drop/pr-policy/pr-size are green.

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 20, 2026
@KrzysztofMoch

Copy link
Copy Markdown
Member

🤖 gpt-6.2-sol responding on behalf of @KrzysztofMoch

Almost ready at 5183ef0, with one small validation gap to fix before approving fork CI and merging.

  • describe.fail spreads given before option validation. In packages/e2e/src/collect/registry.ts, groupRegistrar checks typeof given === 'object' && given !== null and passes { ...given, fail: true } to collector.registerDescribe. That turns an array like [] into { fail: true } and strips non-enumerable bad keys before validateDescribeOptions runs. Validate given before adding fail: true so describe.fail rejects the same invalid inputs as describe, and add a unit test for it.
  • Clarify the "truthy layer" wording. packages/core/src/types.ts and docs/reference/test.mdx say "Any truthy layer marks", while expectedFailureOption intentionally treats an empty or blank string as a mark. Saying true or any string matches the implementation.

@KrzysztofMoch KrzysztofMoch removed the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 20, 2026
@Vishwas1345

Copy link
Copy Markdown
Contributor Author

Thanks, both were real. Fixed in 3d93e93:

  • Validation before the mark: describe.fail no longer spreads first. registerDescribe validates the caller's own options, then adds fail: true and validates again for the serial rules. describe.fail('group', [], fn) and an object with a non-enumerable bad key now fail with the same unknown key error as describe(). The unit test asserts both forms side by side, plus describe.fail('unit', { serial: true }, fn), which only the second pass catches. Putting the spread back fails the first test, and dropping the second pass fails the second.
  • Wording: fail now says "a layer with true or any string marks" in types.ts, the fail option section and the Types blocks (en/ja/zh), since a blank string marks too. I left the older "Any truthy layer skips" lines on skip alone, as they're outside this PR.

pnpm check passes; pnpm --filter e2e test is 5305 passed, with the same step-hold.test.ts failure I noted above, which fails identically on plain main on this machine.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 6 files (changes from recent commits).

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

Requires human review: Auto-approval skipped because cubic reviewed only this push, not the earlier force-push. Comment @cubic review to review the whole pull request.

View guided diff | Re-trigger cubic

Comment thread docs/ja/reference/test.mdx Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 6 files (changes from recent commits).

Heads up: you’ve reached your flex budget. Increase your flex budget or wait for usage to reset.

Requires human review: Auto-approval skipped because cubic reviewed only this push, not the earlier force-push. Comment @cubic review to review the whole pull request.

View guided diff | Re-trigger cubic

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[claude-opus-5-5] automated review on behalf of @okwasniewski

Re-checked at a4fefa9 against main e88153b. Both of KrzysztofMoch's asks are fixed, and so is the outer-group wording cubic pointed out. The PR now conflicts with main, but only in one migrate table row.

Must fix

None.

Should fix

  • Rebase onto main. #1887 rewrote the same gap row in docs/migrate/playwright.mdx (and ja/zh), so the PR is dirty. The conflict is three one-line hunks and no code. Take main's two rows and drop only , \test.fail()` on a describeandand `test.fail()`, since describe.failnow covers them.registry.ts, select.ts, types.ts, sdk-types.tsand the tests all merge cleanly with #1887'stest.fixme`.

Nits

  • registry.ts registerDescribe(title, options, body, api = 'describe()', markFail = false): a positional boolean after a default parameter is easy to misread. A single validation pass that then checks markFail && (options.serial === true || insideSerial(parent)) would also do away with the second full validateDescribeOptions. Optional.

Verified

  • describe.fail('group', [], fn) and an object with a non-enumerable bad key now throw the same unknown key error as describe(). describe.fail('unit', { serial: true }, fn) throws the serial rule.
  • The "truthy layer" wording is gone from TestOptions.fail JSDoc, the fail option section, and both skill copies. They now say "true or any string" and "on, inside, or around a serial group".
  • Mutants, both killed by registry.test.ts: putting the { ...given, fail: true } spread back fails the describe.fail test, and dropping the second validation pass fails the serial test.
  • On a local merge of the PR into main, tsc --noEmit and oxlint on the touched sources are clean. vitest run tests/unit passes: 4217 passed, 2 skipped. The expected-failure, runner-lifecycle, test-set-timeout and step-hold integration suites pass: 81 tests.
  • Scratch run of fail with fixme on the merged tree. In every case below the skip wins, as in Playwright:
    • test.fixme(title, fn) inside describe.fail is skipped with cause fixme.
    • Runtime test.fixme(true) inside describe.fail is skipped with cause fixme.
    • test.fixme(false) followed by a failure passes as an expected failure.
    • test.fail(title) in a { skip: 'fixme' } group is skipped with cause explicit.
    • test.fixme inside { fail: 'reason' } is skipped.
  • step-hold.test.ts passed 4/4 runs here, including "fails a held step the body never awaited". The failure you see locally is not on main.
  • cubic: no open findings. Its ja translation note does not apply, since translations are best effort.
  • CI: fork CI at a4fefa9 is waiting for approval (spec, docs, docs translations, mobile, benchmark are action_required). check, drop, label, pr-policy and pr-size are green.

@okwasniewski

Copy link
Copy Markdown
Member

[claude-opus-5-5] automated review on behalf of @okwasniewski

CI re-check at a4fefa9: the red test (24.8.0) and spec gate come from packages/moli/tests/unit/moli.test.ts:222 ("stops descendants when the wrapper exits on SIGTERM", expect.poll timeout). That test does not touch this PR, so it is a flake, not your change. The branch now conflicts with main, so please rebase onto main; CI on the new head should then go green. No new code asks beyond the earlier review.

@okwasniewski okwasniewski left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[claude-opus-5-5] automated review on behalf of @okwasniewski

Posted by mistake by the automated triage script (empty review). Please ignore it; the earlier review still stands.

A test now reads fail from its groups as well as itself. Any truthy layer marks it, the innermost reason wins, and fail: false does not unmark. Refused on, inside, or around a serial group. Part of e2e-inc#1855.
… at describe.fail

The collection error for test.fail(condition) outside a body now names describe.fail and the describe option, since a migrating Playwright user hits it first. The Playwright migrate row gains the conditional form, and the ja/zh rows take cubic's translations.
describe.fail copied its options with a spread before validation, so an array or a non-enumerable bad key passed where describe() rejects it. The caller's options are now validated first, then again with fail: true for the serial rules. The fail docs now say true or any string marks, since a blank string marks too.
describe.fail no longer validates twice: the serial check takes the mark into account, and registerDescribe takes api and markFail without defaults.
@Vishwas1345

Copy link
Copy Markdown
Contributor Author

Rebased on main (3e7d19d), now 5a077de.

  • feat(test): add test.fixme #1887 conflict: took main's two migrate rows in en/ja/zh and dropped only , test.fail() on a describe and and test.fail().
  • Nit, taken: one validation pass. validateDescribeOptions(given, parent, markFail) checks the caller's own options and counts the mark in the serial rule, then registerDescribe adds fail: true. api and markFail no longer have defaults (its one caller passes both). The two mutants still die: validating the copy fails the describe.fail test, and leaving the mark out of the serial check fails the serial test.

pnpm check passes, and pnpm --filter e2e test is 5396 passed (plus the local-only step-hold failure you confirmed passes on main).

On the earlier fork CI run at a4fefa9: test (24.8.0) failed in @e2e-dev/moli (tests/unit/moli.test.ts > "stops descendants when the wrapper exits on SIGTERM", an expect.poll timeout), which this PR doesn't touch; the same job passed on Node 22, 22.22.3, 24 and 26, and spec gate only failed because it rolls up that result.

@okwasniewski okwasniewski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[claude-opus-5-5] automated review on behalf of @okwasniewski

Re-checked at 5a077de, rebased on main 3e7d19d. The rebase and the nit both look right, and CI is green. Nothing left to fix.

Must fix

None.

Should fix

None.

Verified

  • #1887 conflict: in en/ja/zh migrate/playwright.mdx, main's gap row keeps its test.fixme(title, details, body) entry and the explicit skip cause note. Only , test.fail() on a describe and and test.fail() are dropped. The new mapping row (describe.fail / { fail: 'reason' } / test.fail(condition) in beforeEach) is still there.
  • Nit done: registerDescribe runs validateDescribeOptions(given, parent, markFail) once and then adds fail: true. api and markFail are required, and registerDescribe has only one caller. The rules are the same as at 618564f: (markFail || options.fail !== undefined) on or inside a serial group throws, and so does a serial group inside a fail group.
  • Mutants, both killed by registry.test.ts: validating the spread copy fails the describe.fail test, and dropping markFail from the serial check fails the serial test.
  • At the PR head: tsc --noEmit in packages/e2e is clean, and oxlint is clean on src/collect and the touched tests. vitest run tests/unit gave 4231 passed and 2 skipped. The expected-failure, runner-lifecycle and step-hold integration suites gave 76 passed. registry.ts is 935 lines. The diff adds no em or en dashes, and the changeset is a patch.
  • CI at 5a077de: every check is green, including test on all five Node versions, spec gate, docs gate, mobile gate, benchmark gate, web, and android/ios deterministic. The earlier moli.test.ts:222 failure did not come back. mergeable_state is clean.
  • cubic: its check is neutral because the incremental review could not start, so there are no new findings. It has no open findings from earlier runs.

@okwasniewski okwasniewski added the Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. label Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready for Human Review Green, conflict-free, every thread handled. Waiting on a maintainer. size:L Up to 499 changed lines, not counting tests, fixtures, translated docs, or the lockfile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants