Repository navigation
Remove tests that only read source text - #16334
Merged
Merged
Conversation
Contributor
[Low impact] The PR appears safe to merge; no actionable new defect was established. SummaryRemoves source-text assertions across the shell tests while keeping tests that run model logic, extracted functions, and runtime fixtures.
Reviews (3) · Last reviewed commit: "Keep the lock's read-the-current-state c..." · Reviewed by Greptile |
The menu test no longer pins the icon font's coverage.
Keep the model, VM, runtime fixture and command-output checks. The overlay no-animation check now covers every OverlayWindow plugin instead of a fixed list, and the dock default-pins check reads the shipped defaults instead of a copy.
…rowser, nightlight and Wi-Fi tests
…he monitor state test
This was referenced Nov 1, 2026
This was referenced Nov 2, 2026
This was referenced Nov 17, 2026
6 tasks done
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.
Removes assertions that read source text instead of running code: regexes and
includes()over QML, andgrep/rgoverbin/scripts, install scripts, config files and package lists. They break when someone reformats a line and catch nothing a behaviour test wouldn't.background,lock-stranded-recovery,lock-blank-fingerprint,lock-wallpaper-preload,panel-entries,row-border-stability,shell-launch,network-manager-transition,limine-defaults,windows-vm,theme-neovim-colorscheme,hyprland-window,floating-terminal,launch-1password.menu-test(947 → 426),upgrade-to-quattro,bar-test,video-background,image-picker,clipboard,clock,snapperandnetwork.AUTH_HELPmaps to a panel case),upgrade-to-quattro's root-PATH check andinstall-language's "never sources the preset".Where a removed grep was the only guard on a real rule, it's replaced with a check that runs or reads data rather than dropped:
upgrade-to-quattro-testruns the script's real step block with each step logging its name. The snapshot comes before the channel change, root= is pinned before the kernel install and checked after Limine is rewritten, and--rebootnever reboots when root= wasn't confirmed. Each mutation goes red.e900-e91fcharset range becomes a check that every glyph the menu draws in the Omarchy font is in the font's own charset (fc-query).omarchy-dev-fontandagents/skills/icon-font.mdno longer ask you to bump a pin.omarchy-setup-security-sudoless-dockeradds a user todocker.keepLoaded:plugins-testreads the lock, polkit and idle manifests' JSON and requires them to stay loaded across plugin reloads.helpers.luaquotes the fallback (omarchy-shell 'media' 'playPause'). It now matches the quoted form, and dropping a media shortcut goes red.lock-state-testkeeps the twocurrentlyLocked()asserts. They're the only guard on a fix for machines resuming unlocked, and the session lock can't be driven offscreen to test it another way.The
n1x.shearly return and the all.sh registration checks move into #16337'shardware-quirks-test, which runs the leaves and the real dispatchers.Merged with quattro rather than rebased. Quattro's own additions to these files that run code stay: the agents panel's sign-in and limit-window blocks, the bar's peek wording, and the FALLBACK check on the external-monitor helper, which keeps
monitor-recovery-test.shalive on its own. The source checks quattro added to the same files (menu pins, Bar.qml and Panel.qml regexes, the upgrade's browser grep) go with the rest.All 67 changed test files pass on their own on the final head.