27 lines
744 B
YAML
27 lines
744 B
YAML
appId: ${USER_APP_ID}
|
|
env:
|
|
USER_APP_ID: ${USER_APP_ID || "com.freshyotrial.app"}
|
|
ADDRESS_LABEL: ${ADDRESS_LABEL || ""}
|
|
tags:
|
|
- region
|
|
- cart
|
|
---
|
|
# Test 18: on the cart page with a non-empty cart, select an address that
|
|
# lives in a DIFFERENT region. Expects the "Deliver to {region}?" preview
|
|
# dialog listing kept/moved/removed lines.
|
|
# Requires: user-cart-add-item.yaml has run, and the account owns an address
|
|
# in another region whose row contains ADDRESS_LABEL.
|
|
- launchApp
|
|
|
|
- extendedWaitUntil:
|
|
visible:
|
|
text: 'Delivery Address'
|
|
timeout: 20000
|
|
|
|
- tapOn:
|
|
text: '.*${ADDRESS_LABEL}.*'
|
|
|
|
- extendedWaitUntil:
|
|
visible:
|
|
text: 'Deliver to.*|Cart updated.*|Checking your cart.*|Switching.*'
|
|
timeout: 30000
|