freshyo/neo-tests/e2e/subflows/login.yaml
2026-10-06 11:53:12 +05:30

20 lines
591 B
YAML

# login.yaml: sign in to the superadmin-ui.
# Args: SUPERADMIN_NAME, SUPERADMIN_PASSWORD (inherited if not passed).
url: http://localhost:4175/login
env:
SUPERADMIN_NAME: ${SUPERADMIN_NAME || ""}
SUPERADMIN_PASSWORD: ${SUPERADMIN_PASSWORD || ""}
---
- openLink: http://localhost:4175/login
- runFlow:
when:
visible: Sign in to continue
commands:
- tapOn: Enter your name
- inputText: ${SUPERADMIN_NAME}
- tapOn: Enter your password
- inputText: ${SUPERADMIN_PASSWORD}
- tapOn: Login
- extendedWaitUntil:
visible: Admins
timeout: 30000