Preserve failed Live benchmark evidence

AI-assisted implementation under maintainer direction.
This commit is contained in:
Paul Bakaus
2026-07-13 12:43:45 -07:00
parent 6e92da3ba5
commit efa2ce9ed2
3 changed files with 24 additions and 4 deletions
+2 -1
View File
@@ -804,7 +804,8 @@ async function ensureVisibleVariant(page, expectedVariant) {
*/
export async function clickDiscard(page) {
// The discard button has just a "✕" glyph as text content.
await page.locator(`${BAR_ID} button`, { hasText: '✕' }).click();
if (await dispatchBarButton(page, '✕')) return;
await clickBarButton(page, '✕');
}
export async function clickEditCopy(page) {