taler-monitoring: shop e2e uses catalog list and random pick of two

The GOA shop e2e path used to walk every product template every run, which
was slow and often hit balance or time budgets after the first few pays.

Keep the full catalog in E2E_SHOP_PRODUCTS (id|name|amount, synced with the
merchant landing). Each e2e run shuffles that list and pays only
E2E_SHOP_PICK_N products (default 2). Shop pays pin instance goa-shop for
public template POSTs; settlement payto matches the landing shop popup.

Docs in README.md and TESTS.md describe the pick behaviour and env overrides.
This commit is contained in:
Hernâni Marques 2026-07-10 20:28:15 +02:00
parent c7f86dd3da
commit 04bafc84a6
No known key found for this signature in database
3 changed files with 83 additions and 44 deletions

View file

@ -132,12 +132,13 @@ Without SSH (`SKIP_SSH=1` or remote domain): still runs outside-in repo checks;
| e2e-003 | mode / currency info |
| e2e-004… | secrets, reachability gates |
| e2e-… | account, credit, withdraw, confirm, coins, order, pay ladder |
| e2e-… | **GOA shop products** by **product name** (public template POST → `taler://pay`, pay-template URI, payto) |
| e2e-… | **GOA shop products** — full catalog list; **random pick of 2** (override `E2E_SHOP_PICK_N`) |
| e2e-… | balances, dig on failure |
Shop product pays use instance `goa-demo-cp4zqk` (default) and `E2E_SHOP_PRODUCTS`
(`id|Product name|amount` lines). Flow matches the landing popup (public POST
`/templates/{id}`, not private orders). Report labels use the product name.
Shop product pays use instance `goa-shop` (default) and catalog `E2E_SHOP_PRODUCTS`
(`id|Product name|amount` lines). Each e2e run **shuffles** the catalog and pays
only `E2E_SHOP_PICK_N` products (**default 2**). Flow matches the landing popup
(public POST `/templates/{id}`, not private orders). Report labels use product name.
Blockers keep the same ID prefix: `[BLOCKER] e2e-0NN step: message`.