diff options
| author | Adam Soltys <[email protected]> | 2026-10-22 23:14:36 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-22 23:14:36 -0700 |
| commit | 60505c082937946f598dfbf11685c533f48ce4e1 (patch) | |
| tree | ddd664f314879415db007da6ef3ad26f35483fb6 /tools | |
| parent | af351e13947831ba54d4233ba80f46dab89e8c42 (diff) | |
| download | coinosv3-60505c082937946f598dfbf11685c533f48ce4e1.tar.gz coinosv3-60505c082937946f598dfbf11685c533f48ce4e1.zip | |
Manage page: the card is "Custody strategy"
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/ark/custody-ui-test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ark/custody-ui-test.js b/tools/ark/custody-ui-test.js index f8fc886..5eabbfa 100644 --- a/tools/ark/custody-ui-test.js +++ b/tools/ark/custody-ui-test.js @@ -84,8 +84,8 @@ try { assert.match(await page.$eval('.ark-custody-desc', (e) => e.textContent), /keeps its own exit until it expires/); assert.doesNotMatch(tx, /Coins renew in the last hours|Every transfer adds a hop/, 'only the chosen strategy is described'); assert.doesNotMatch(tx, /timelock|Spending coin carries|old Coinos/, 'no jargon on the card'); - const order = await page.$$eval('.card h4, .card h3', (es) => es.map((e) => e.textContent).filter((x) => /Spending coins|Custody|Renewal/.test(x))); - assert.deepEqual(order, ['Spending coins', 'Custody'], 'coins first, then the strategy; no explainer cards'); + const order = await page.$$eval('.card h4, .card h3', (es) => es.map((e) => e.textContent).filter((x) => /Spending coins|Custody strategy|Renewal/.test(x))); + assert.deepEqual(order, ['Spending coins', 'Custody strategy'], 'coins first, then the strategy; no explainer cards'); assert.match(tx, /held by Coinos/, 'the coin past its timelock is held, not "expired"'); assert.doesNotMatch(tx, /5,000 sats\s+expired/, 'the row never says "expired"'); assert.doesNotMatch(tx, /nothing renews on its own/, 'the renewal explainer is not on the page…'); |
