This commit is contained in:
2026-09-10 20:27:04 +08:00
parent cb1dfc5a31
commit 03e72c5f6a
6 changed files with 40 additions and 35 deletions
+2 -2
View File
@@ -79,8 +79,8 @@ 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, /v-if="allInboundsReconciled" class="sticky-action one"/)
assert.doesNotMatch(page, /尚有 \$\{progress\.pending\} 箱未收/)
assert.match(page, /v-if="canFinishOnsite" class="sticky-action one"/)
assert.match(page, /allInboundsReconciled \? '完成整柜入库' : '现场收货结束(标记差异)'/)
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/)