Repository navigation
test(ui): open the phone nav drawer from the bottom bar's More cell in the live Back spec - #35148
Merged
objectstack-fleet[bot] merged 1 commit intoNov 18, 2026
Conversation
…n the live Back spec On a phone inside an app the app bar's left slot is the Back-to-home link and the drawer opens from the bottom menu bar's More cell, so the spec's openList waited for a sidebar trigger that is no longer drawn there. The four phone cases now open and wait on the More cell; the desktop control keeps the sidebar trigger. Every assertion is unchanged. Claude-Session: https://claude.ai/code/session_01JQwxbXBffgVtUPBEY2nLFm Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm 席位核对 · area self-review (Fixes #35127) · 2026-11-18T07:46ZL1: ACCEPT Checklist (l1-review-checklist.md), read against the full diff (1 file, +16 −9):
Must-fix: none. Should-fix: none. |
Contributor
Author
|
repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm Landing · head
Ready + auto-merge now; the area follows it to MERGED and closes out #35127. |
objectstack-fleet
Bot
deleted the
claude/issue-35127-phone-drawer-spec-more
branch
November 18, 2026 08:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #35127
repo:objectstack#1 · os-warren · session_01JQwxbXBffgVtUPBEY2nLFm
Clause-②: no
Metadata-protocol: none
维护者速读
ui/e2e/live/phone-nav-drawer-back-29131.spec.ts:手机宽度的 4 个用例(375 / 390 px 各一遍,共 8 条)改为从底部菜单栏的「更多」打开导航抽屉;桌面对照用例仍点侧栏按钮;所有断言一字未改。ui/e2e/live/phone-nav-drawer-back-29131.spec.ts的openList/openDrawer(打开入口从TRIGGER换成MORE),以及 reload 用例里等待的元素。What changes
ui/e2e/live/phone-nav-drawer-back-29131.spec.tsonly.MORE= the bottom menu bar's 「More」 cell ([data-testid="phone-app-nav-more"],PhoneAppNavBar.tsx).openList(page, opener)now waits for the control the case will use:MOREin the four phone cases,TRIGGER(button[data-sidebar="trigger"]) in the desktop CONTROL.openDrawertapsMORE; the reload case waits forMOREafter the reload.setOpenMobile(true).width - 20, y 420) is still on the overlay, well above the 48 px bottom bar at an 844 px tall viewport, so nothing else needed adjusting.Verdict for triage: spec drift, not a product regression
Triage asked: "Decide whether a phone user on a list page really has no nav trigger (a product regression, possibly worth an 18.6.1 patch) or whether the spec's
LISTor its selector drifted."Spec drift: the selector.
LISTis still correct (the list renders, with its bottom bar).feat(console): phone app menu bar with pinned entries, and a starred full menu behind More (#34628), the change for card 手机端:进入应用后底部放菜单栏(读用户固定的菜单项),完整菜单收进「更多」 #34594, committed 2026-11-17T06:10Z. InAppHeader.tsxthe left slot isisApp && phone ? Link data-testid="app-bar-phone-home" : isApp ? LocalizedSidebarTrigger : …. That PR updatedui/e2e/record-header-title-width.spec.tsbut not this live spec, which only the nightly runs.git merge-base --is-ancestor 13c62a62 d57d6eedexits 1 (not in the last green), with control leg64911c64ind57d6eedexiting 0 in the same checkout.13c62a62in958ee035(the first red) exits 0.d57d6eedin13c62a62exits 0.db1a05cdfromgit log -S'app-bar-phone-home'. That was a shallow-clone artifact:db1a05cdwas a graft boundary in the shared clone'sshallowfile, so the pickaxe charged it with the whole file. Aftergit fetch --deepen=400, the same pickaxe answers13c62a62alone.ConsoleLayout.tsxkeeps the bar onLIST(phoneNavBar = phone && !hidesPhoneNavBar(pathname);hidesPhoneNavBarmatches only record pages and new/edit forms).UnifiedSidebar.tsxpassesonOpenMenu={() => setOpenMobile(true)}.usePhoneNavDrawerHistoryreadsopenMobilefromuseSidebar(). So the Back, outside-tap and reload behaviour this spec guards does not depend on which control opened the drawer. The green run below measures that.Tests
Live, in this container, against the real stack the nightly boots. Steps:
ui/e2e/live/ci/start-backend.shon a random port, booting this tree's built CLI andexamples/app-showcase.vite buildwithVITE_BASE_PATH=/, served byvite previewwith/apiproxied to that backend.pnpm --dir ui exec playwright test --config=playwright.live.config.ts phone-nav-drawer-back-29131.spec.ts.Bundled Chromium 1243,
@playwright/test1.63.0. All three ran on the branch headdd988633, which is BASE6f2bd4f8plus this one commit.Unchanged spec (BASE version restored into the tree): 8 failed, 1 passed, the nightly's exact failure
This branch: 9 passed (all 8 phone legs plus the desktop CONTROL)
The whole nightly list (`pnpm --dir ui run test:e2e:live:nightly`, the list the live-tier test runs): 28 passed
Acceptance notes
origin/mainmoved todfc6bbf6after BASE6f2bd4f8. None of the incoming commits touchesui/packages/app-shell/src/layout/orui/e2e/live/, andoverlap-check.mjsreads clean, so the live reading holds.hidesPhoneNavBar), with no defect, contract text or trap behind it, so it is noted here and not filed.Verification
pnpm --dir ui run type-check:e2e(tsc -p tsconfig.e2e.json): exit 0.node scripts/pm/dispatch-gates.mjs --commands, atdd988633): 20 families, each run locally, each exit 0.--ranreconciliation: "20 derived famil(ies) accounted for — 20 run, 0 NOT-MEASURED (a DERIVED zero — all 20 recorded an exit code and none of them is 3)".node scripts/pm/overlap-check.mjs:VERDICT clean exit 0before each push.skip-changeset: the only path is underui/e2e/, which belongs to the private root packageobject-ui-monorepoand to no publishedfiles[]. Nothing publishes.Generated by Claude Code