Skip to content

Follow root Appearance in the menu acceptance test - #15550

Open
yamz8 wants to merge 3 commits into
omacom:quattrofrom
yamz8:fix/acceptance-menu-bar-position-path
Open

yamz8 wants to merge 3 commits into
omacom:quattrofrom
yamz8:fix/acceptance-menu-bar-position-path

Conversation

@yamz8

@yamz8 yamz8 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

The menu acceptance test follows an obsolete Style route and times out in the Trigger submenu on current quattro. It now navigates root → Appearance → Menu Bar → Position Bar → Left Bar, checking each submenu before continuing. The config, geometry, menu-closure, and restoration assertions are preserved.

Applied the root Appearance correction supplied by @Gberfield and merged quattro at 3c7027db2a into this branch.

Validation on the resulting branch (e860308a84) in a fresh disposable Omarchy edge VM:

  • The upstream baseline fails waiting for Theme after entering Trigger.
  • The updated test passes all nine wait assertions: submenu navigation, saved left position, vertical bar geometry, menu closure, and restoration to the original horizontal position.
  • This run uses only this PR on current upstream. No OCR-helper, Apps-cleanup, or bar-remapping PRs were added.
  • Bash syntax and diff checks pass. ShellCheck reports only the existing source-resolution notice and unchanged SC2053 comparison warning.

AI-assisted with Claude Code and Codex.

…ptance test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; the updated navigation matches the current menu.

Summary

Updates test/acceptance.d/menu-test.sh to follow the current Appearance menu.

  • The menu test follows Appearance to reach bar positions.

Reviews (2) · Last reviewed commit: "Merge remote-tracking branch 'origin/qua..." · Reviewed by Greptile

@omarchybot

Copy link
Copy Markdown
Collaborator

Read, not yet verified. The classification is unsettled because the second opinion did not run: omabot's reviewer, Codex Medium, answers a ping, but today's review budget was already spent when this item came up, so no second model has seen it. Without an agreed class this pull request gets no label and was not run on a worker.

What was checked, by reading only: the route against default/omarchy/omarchy-menu.jsonc on quattro at cce8b1c. Menu Bar moved from Style to trigger.appearance.top-bar in #14973, so the old three-Down route through Style no longer reaches it. The new keypresses match the current tree: Trigger is the third root entry, Appearance is first under Trigger, Menu Bar follows Animations, Position Bar follows the single Hide/Show Bar row, and Left Bar is third under Position Bar. Nothing was found wrong in the diff. No competing open pull request touches this test.

This waits on the next run, when the second opinion is available. The fix can be classified then, and reproduced on a worker: the test should fail on quattro and pass at this head.

@Gberfield

Copy link
Copy Markdown

The follow-up correction for the current root Appearance menu is prepared on top of this PR's 5f2df22c506318c03f68ed7dcaeddb21b852ffd2 head. It preserves the config/geometry/menu-closure/restoration assertions and adds no sleep, retry or longer timeout:

diff --git i/test/acceptance.d/menu-test.sh w/test/acceptance.d/menu-test.sh
index 13631eb1..257cb86b 100644
--- i/test/acceptance.d/menu-test.sh
+++ w/test/acceptance.d/menu-test.sh
@@ -69,15 +69,12 @@ screenshot "success-menu-01-root"
 
 wtype -k Down -k Down
 sleep 1
-screenshot "success-menu-02-trigger-selected"
+screenshot "success-menu-02-appearance-selected"
 wtype -k Return
 
-wait_until "trigger submenu is visible" 15 screen_contains "Appearance"
-screenshot "success-menu-03-trigger-submenu"
-wtype -k Return
-
-wait_until "appearance submenu is visible" 15 screen_contains "Animations"
-wtype -k Down -k Return
+wait_until "appearance submenu is visible" 15 screen_contains "Menu Bar"
+screenshot "success-menu-03-appearance-submenu"
+wtype -k Down -k Down -k Down -k Return
 
 wait_until "menu bar submenu is visible" 15 screen_contains "Position Bar"
 screenshot "success-menu-04-menu-bar-submenu"

The route is root → Appearance → Menu Bar → Position Bar → Left Bar, with 2, 3, 1, 2 Down presses. I checked it against the actual menu definition at current quattro 3c7027db2a4fa9fa6a49d7af7f87c27ac48e677d.

The corrected menu-test.sh passed in 37 seconds on a disposable installed-ISO guest serving a complete current-upstream integration tree, including the config change to left, vertical geometry, menu closure and original horizontal-position restoration. This was a labeled combination with #12828's OCR helper, #15465's Apps cleanup and #16095's bar-remapping fix; it is not a claim that this old PR head passes by itself. The complete 11-file integration suite was not green: the temporary-monitor menu-render assertion and reminder-message prompt failed. Its strict file-set guard also rejected a newly generated Python bytecode cache; all existing source hashes were unchanged. Bash syntax/diff checks pass; existing ShellCheck SC2053 on the unchanged position comparison remains recorded.

The older PR keeps the menu-route contribution. #16028 is closed as superseded; no duplicate menu PR or change to your branch was made. This patch is available for the author/maintainer to apply and review here.

@yamz8 yamz8 changed the title Follow the bar position menu to Trigger > Appearance in the menu acceptance test Follow root Appearance in the menu acceptance test Oct 22, 2026
@omarchybot omarchybot added bug Something isn't working verified Omarchy Triage has verified that this issue is ready for final review ready Good to merge labels Oct 22, 2026
@omarchybot

Copy link
Copy Markdown
Collaborator

Verified on a worker built from the Omarchy ISO, serving this branch at e860308a84. Nothing found wrong.

What was checked: test/acceptance.d/menu-test.sh was run in the worker's live desktop. The version on quattro fails at "style submenu is visible": three Down presses from the root open Trigger, which has no Theme entry. This branch's version passes all nine assertions: Appearance, Menu Bar, Position Bar, the bar moving to the left and turning vertical, the menu closing, and the bar returning to the top. Screenshots from each step match the route. The keypress counts were also checked by reading them against default/omarchy/omarchy-menu.jsonc, which current quattro has not changed since this branch's merge base. ./test/cli passes on the same worker.

Second opinion: Codex Medium and muse-spark-1.3 (thinking high) both reviewed the diff. Both found the counts and the OCR wait strings correct, and the change proportionate. Their independence from this review is not guaranteed. muse-spark raised one possible race: Hide Bar and Show Bar could both appear if the menu's visibility checks had never finished. That doesn't apply here. The shell runs those checks when it loads the menu and again when the menu opens, and it keeps the last results in the meantime. So by the time this test reaches Menu Bar, they have long since run.

This now waits on the maintainer.

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

Labels

bug Something isn't working ready Good to merge verified Omarchy Triage has verified that this issue is ready for final review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants