21 lines
654 B
YAML
21 lines
654 B
YAML
appId: ${APP_ID || "in.freshyo.adminui"}
|
|
env:
|
|
STAFF_NAME: ${STAFF_NAME || ""}
|
|
STAFF_PASSWORD: ${STAFF_PASSWORD || ""}
|
|
---
|
|
# Logs into the admin app. Callers invoke this conditionally, only when the
|
|
# login screen is showing (see the `when: visible id: login-name-input` wrapper
|
|
# used by the entry flows), so it can also be run standalone from a logged-out
|
|
# state.
|
|
- tapOn:
|
|
id: login-name-input
|
|
- inputText: ${STAFF_NAME}
|
|
- tapOn:
|
|
id: login-password-input
|
|
- inputText: ${STAFF_PASSWORD}
|
|
- hideKeyboard
|
|
- tapOn:
|
|
id: login-button
|
|
# Dashboard quick actions render once the drawer shell is up.
|
|
- assertVisible:
|
|
id: add-product-menu-item
|