This commit is contained in:
2026-08-26 20:40:00 +08:00
parent 264dc60ac6
commit 7624f83d1e
6 changed files with 42 additions and 9 deletions
+3 -1
View File
@@ -76,7 +76,9 @@ test('local thumbnail, preview, and authenticated session restore are wired to t
})
test('fixed receiving action leaves enough scroll-safe space above the PDA bottom bar', () => {
assert.match(page, /receiving-content\{[^}]*padding-bottom:calc\(152px \+ env\(safe-area-inset-bottom,0px\)\)/)
assert.match(page, /v-if="allInboundsReconciled" class="sticky-action one"/)
assert.doesNotMatch(page, /尚有 \$\{progress\.pending\} 箱未收/)
assert.match(page, /receiving-content-with-action\{[^}]*padding-bottom:calc\(152px \+ env\(safe-area-inset-bottom,0px\)\)/)
assert.match(page, /primary-button,\.secondary-button,\.ghost-button\{[^}]*align-items:center;justify-content:center[^}]*line-height:normal;text-align:center/)
assert.match(page, /sticky-action button\{[^}]*align-items:center;justify-content:center;line-height:normal;text-align:center/)
})