mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-02 16:07:12 +00:00
ci: fix ios sign-out, scanner and add-account flow steps
This commit is contained in:
@@ -11,7 +11,7 @@ tags:
|
||||
CAMERA: deny
|
||||
- tapOn: "Scan a sign-in code.*"
|
||||
- extendedWaitUntil:
|
||||
visible: "Camera access is turned off.*|Scanning a sign-in QR code uses the camera.*"
|
||||
visible: "Camera access is.*|Scanning a sign-in QR code uses the camera.*"
|
||||
timeout: 15000
|
||||
- takeScreenshot: scanner-01-denied
|
||||
- tapOn: "Close"
|
||||
|
||||
@@ -11,6 +11,9 @@ appId: org.bulwarkmail.mobile
|
||||
visible: "Not now"
|
||||
commands:
|
||||
- tapOn: "Not now"
|
||||
# Adding an account from Settings returns to Settings.
|
||||
- tapOn:
|
||||
id: tab-mail
|
||||
- extendedWaitUntil:
|
||||
visible:
|
||||
id: email-row
|
||||
|
||||
@@ -11,6 +11,7 @@ appId: org.bulwarkmail.mobile
|
||||
- extendedWaitUntil:
|
||||
visible: "The account is removed from this device.*"
|
||||
timeout: 10000
|
||||
# The dialog's button, not the Settings row of the same name behind it.
|
||||
- tapOn:
|
||||
text: "Sign out"
|
||||
below: "The account is removed from this device.*"
|
||||
rightOf: "Cancel"
|
||||
|
||||
@@ -6,16 +6,10 @@ appId: org.bulwarkmail.mobile
|
||||
visible: "you@example.com"
|
||||
timeout: 60000
|
||||
- takeScreenshot: stalwart-login-page
|
||||
- runFlow:
|
||||
file: type-web.yaml
|
||||
env:
|
||||
HINT: "you@example.com"
|
||||
TEXT: ${LOGIN}
|
||||
- runFlow:
|
||||
file: type-web.yaml
|
||||
env:
|
||||
HINT: "••••••••"
|
||||
TEXT: ${PASSWORD}
|
||||
- tapOn: "you@example.com"
|
||||
- inputText: ${LOGIN}
|
||||
- tapOn: "••••••••"
|
||||
- inputText: ${PASSWORD}
|
||||
- runFlow:
|
||||
when:
|
||||
true: ${TOTP == 'yes'}
|
||||
|
||||
Reference in New Issue
Block a user