test: accept the camera pre-prompt wording in the ios scanner flow

This commit is contained in:
Linus Rath
2026-10-31 16:52:57 +01:00
parent da41b3f060
commit aabfe3f6a7
+4 -1
View File
@@ -10,8 +10,11 @@ tags:
env:
CAMERA: deny
- tapOn: "Scan a sign-in code.*"
# Denied for good: "Camera access is disabled..."; not asked yet (the
# simulator doesn't always apply the denial up front): "Bulwark Mail needs
# camera access..." (English catalog) or the built-in fallback wording.
- extendedWaitUntil:
visible: "Camera access is.*|Scanning a sign-in QR code uses the camera.*"
visible: "Camera access is.*|.*needs camera access.*|Scanning a sign-in QR code uses the camera.*"
timeout: 15000
- takeScreenshot: scanner-01-denied
- tapOn: "Close"