Commit 68845a1
test(e2e): require the new-task menu to exist before calling it settled
The shared `settleMenuMode` helper read the menu's text and compared
`includes("Branch from")` against the mode. For main-checkout that wants
FALSE — which an empty string satisfies, so the wait passed while the menu was
briefly not in the DOM at all, and the click landed in Radix's remount. That is
the `!!m` guard 5eff3f3 added for this exact case and my refactor dropped;
"prompts for a name before creating a main-checkout Terminal task" then failed
in CI the way its worktree sibling used to.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F2JzhUsFa9YLjBBvUJQGYj1 parent d76c951 commit 68845a1
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
349 | 357 | | |
350 | 358 | | |
351 | 359 | | |
| |||
0 commit comments