24 lines
813 B
YAML
24 lines
813 B
YAML
# Reusable login subflow.
|
|
#
|
|
# Runs only when the login screen is actually showing, so an already signed-in
|
|
# session is left untouched. (OTP login can't be automated — no dev bypass — so
|
|
# this uses the username + password path: "other ways to login".)
|
|
#
|
|
# Android-only suite (Android package id).
|
|
appId: in.freshyo.app
|
|
---
|
|
- runFlow:
|
|
when:
|
|
visible: "other ways to login"
|
|
commands:
|
|
- tapOn: "other ways to login"
|
|
- tapOn: "Enter your email or mobile"
|
|
- inputText: ${TEST_IDENTIFIER}
|
|
- tapOn: "Enter your password"
|
|
- inputText: ${TEST_PASSWORD}
|
|
- hideKeyboard
|
|
- tapOn: "Login"
|
|
# Wait for the login screen to go away (the caller decides where we land).
|
|
- extendedWaitUntil:
|
|
notVisible: "other ways to login"
|
|
timeout: 60000
|