29 lines
828 B
Text
29 lines
828 B
Text
# Copy this file to `tests/e2e/.env` and fill in real values.
|
|
# `tests/e2e/run.sh` loads it. `.env` is gitignored.
|
|
# Quote values that contain spaces (they are fine either way with run.sh).
|
|
|
|
# App under test
|
|
APP_ID=in.freshyo.adminui
|
|
|
|
# Admin login (must exist on the target backend)
|
|
STAFF_NAME=
|
|
STAFF_PASSWORD=
|
|
|
|
# Product under test. Used verbatim: add-product.yaml creates it with this exact
|
|
# name and add-slot-with-product.yaml searches for it. The backend rejects
|
|
# duplicate names, so change it (or delete the product) between suite runs.
|
|
PRODUCT_NAME="E2E Test Product"
|
|
|
|
# Id of the store to pick in the Store dropdown (see the Stores screen / DB)
|
|
STORE_ID=1
|
|
|
|
# Variant 1 (regular SKU)
|
|
SKU1_QTY="500 g"
|
|
SKU1_PRICE=199
|
|
SKU1_MRP=249
|
|
|
|
# Variant 2 (flash SKU)
|
|
SKU2_QTY="1 kg"
|
|
SKU2_PRICE=349
|
|
SKU2_MRP=399
|
|
SKU2_FLASH_PRICE=299
|