46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
# Suite step 24: confirm the suite order on Manage Orders (matched by customer mobile).
|
|
appId: ${APP_ID || "in.freshyo.adminui"}
|
|
env:
|
|
APP_ID: ${APP_ID || "in.freshyo.adminui"}
|
|
STAFF_NAME: ${STAFF_NAME || ""}
|
|
STAFF_PASSWORD: ${STAFF_PASSWORD || ""}
|
|
USER_MOBILE: ${USER_MOBILE || ""}
|
|
tags:
|
|
- full-suite
|
|
- orders
|
|
---
|
|
- launchApp
|
|
- extendedWaitUntil:
|
|
visible:
|
|
id: 'login-name-input|add-product-menu-item'
|
|
timeout: 120000
|
|
- runFlow:
|
|
when:
|
|
visible:
|
|
id: login-name-input
|
|
commands:
|
|
- runFlow: subflows/login.yaml
|
|
|
|
- scrollUntilVisible:
|
|
element:
|
|
text: 'Manage Orders'
|
|
direction: DOWN
|
|
speed: 100
|
|
visibilityPercentage: 60
|
|
centerElement: true
|
|
- waitForAnimationToEnd
|
|
- tapOn: 'Manage Orders'
|
|
- extendedWaitUntil:
|
|
visible:
|
|
text: '${USER_MOBILE}|Orders|Manage'
|
|
timeout: 30000
|
|
- scrollUntilVisible:
|
|
element:
|
|
text: ${USER_MOBILE}
|
|
direction: DOWN
|
|
speed: 100
|
|
visibilityPercentage: 60
|
|
centerElement: true
|
|
- waitForAnimationToEnd
|
|
- assertVisible: ${USER_MOBILE}
|
|
- takeScreenshot: suite-order-verified
|