From 0a49c2b51f2cb16208fedec6cf0eb9b79c66f086 Mon Sep 17 00:00:00 2001 From: cverorg <292680828+cverorg@users.noreply.github.com> Date: Fri, 25 Sep 2026 01:09:17 +0900 Subject: [PATCH] verify/first-link: the picker buttons now carry a description line, so match the kind by its first word --- packages/cardtile/verify/first-link.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cardtile/verify/first-link.mjs b/packages/cardtile/verify/first-link.mjs index 17eba93..f1a7ad9 100644 --- a/packages/cardtile/verify/first-link.mjs +++ b/packages/cardtile/verify/first-link.mjs @@ -12,7 +12,7 @@ const step = (n) => steps.push(`${n} @${Date.now()-t0}ms`); await p.goto(URL_, { waitUntil:'networkidle' }); step('page ready'); const canvas = p.frameLocator('#canvas'); await canvas.locator('.ct2-add').first().tap(); step('tap +'); -await p.locator('.ctw-modal:visible button', { hasText: /^Link$/ }).first().tap(); step('tap Link'); +await p.locator('.ctw-modal:visible button', { hasText: /^Link\b/ }).first().tap(); step('tap Link'); const sheet = p.locator('.ctw-modal:visible').first(); const inputs = await sheet.locator('input').evaluateAll(es => es.map(e => ({ type: e.type, name: e.name || e.dataset.field || '', ph: e.placeholder, val: e.value }))); await sheet.locator('input').nth(0).fill('My shop'); step('type label');