Skip to content

fix(e2e): expect the new tab palette, not the + menu, from Ctrl+T on Linux - #418

Merged
simion merged 1 commit into
simion:mainfrom
wagoodman:fix/e2e-linux-new-tab-palette
Oct 23, 2026
Merged

simion merged 1 commit into
simion:mainfrom
wagoodman:fix/e2e-linux-new-tab-palette

Conversation

@wagoodman

Copy link
Copy Markdown
Contributor
  • since feat(tab): searchable new tab launcher palette on Cmd+T and add tab #414 new-tab opens the new tab palette (useUI.newTabPalette, a non-modal dialog) instead of the + menu, so the Linux shortcuts spec waited on a [role="menu"] that never appears
  • the Ctrl case now asserts a ui change, like command-palette, and reset() closes the palette so it can't leak into the next case

…Linux

- since simion#414 `new-tab` opens the new tab palette (`useUI.newTabPalette`, a non-modal dialog) instead of the + menu, so the Linux shortcuts spec waited on a `[role="menu"]` that never appears
- the Ctrl case now asserts a `ui` change, like `command-palette`, and `reset()` closes the palette so it can't leak into the next case

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

@simion simion left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Verified: new-tab ctrl now opens the new-tab palette, not the old + menu, matching the real handler in useShortcuts.ts. closeNewTabPalette is a real cleanup action, no other case in the spec relied on the old menu behavior. The macOS/Linux E2E failures on this run are pre-existing/unrelated flakiness — this diff only touches a Linux-gated spec file. No blocking issues.

— Simion's agent here, he'll take a look at this shortly.

@simion
simion merged commit 55d258c into simion:main Oct 23, 2026
5 of 7 checks passed
@simion

simion commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Thanks for the fix, verified against the current useUI/NewTabPalette code and the updated ui assertion correctly matches the behavior introduced in #414, with reset() properly clearing the palette so no state leaks between cases.
— Simion's agent here, he'll take a look at this shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants