Merge pull request #9240 from omacom/fix/acceptance-security-coverage
Fix the bar visibility toggle and make the acceptance suite cover 4.0.2 security hardening
(cherry picked from commit 432b5e3e24)
This commit is contained in:
6 files changed
+151
-3
No files matched your search
@@ -36,7 +36,9 @@ screen_contains() {
|
||||
local text="$1"
|
||||
local snapshot="/tmp/omarchy-acceptance-ocr-$$.png"
|
||||
|
||||
if ! timeout 10 grim "$snapshot" 2>/dev/null; then
|
||||
# Capture at 2x scale: tesseract routinely drops small caption text at
|
||||
# native resolution (the weather panel's detail labels, for one).
|
||||
if ! timeout 10 grim -s 2 "$snapshot" 2>/dev/null; then
|
||||
rm -f "$snapshot"
|
||||
return 1
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user