mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-17 16:46:31 +03:00
Preserve failed Live benchmark evidence
AI-assisted implementation under maintainer direction.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user