Skip to content

chore: update cart button label for trace debug test#21

Open
DeDuckProject wants to merge 3 commits intomainfrom
feat/trace-debug-run
Open

chore: update cart button label for trace debug test#21
DeDuckProject wants to merge 3 commits intomainfrom
feat/trace-debug-run

Conversation

@DeDuckProject
Copy link
Owner

Minor UI change to the sample app to trigger a /glimpse run with the new Playwright trace enabled.

This PR changes the "Add to Cart" button label to "Add to Bag" — just enough of a UI diff to get the pipeline to run so we can download the playwright-trace artifact and inspect cursor behavior in the Trace Viewer.

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@DeDuckProject
Copy link
Owner Author

/glimpse

@github-actions
Copy link

github-actions bot commented Mar 13, 2026

🧐 UI Demo Preview

Changes detected in: examples/simple-app/public/index.html

What changed: The call-to-action button label on a product page was updated from 'Add to Cart' to 'Add to Bag', reflecting a terminology change in the shopping experience. This is a purely cosmetic text change with no functional impact.

Demo

📱 Can't see the preview? Open it directly

Demo script (auto-generated)
import type { Page } from '@playwright/test';

export async function demo(page: Page): Promise<void> {
  await page.goto('http://localhost:3000');
  await page.waitForLoadState('networkidle');

  await page.waitForTimeout(300);

  const addToBagButton = page.locator('#cart-label');

  await addToBagButton.scrollIntoViewIfNeeded();
  await page.waitForTimeout(300);

  const buttonBox = await addToBagButton.boundingBox();
  if (buttonBox) {
    const nearbyX = buttonBox.x - 80;
    const nearbyY = buttonBox.y + buttonBox.height / 2;
    await page.mouse.move(nearbyX, nearbyY);
    await page.waitForTimeout(300);

    await page.mouse.move(
      buttonBox.x + buttonBox.width / 2,
      buttonBox.y + buttonBox.height / 2
    );
  }

  await page.waitForTimeout(800);

  const cartButton = page.locator('button', { has: page.locator('#cart-label') });
  await cartButton.hover();
  await page.waitForTimeout(800);

  await cartButton.click();
  await page.waitForTimeout(800);
}

Generated by git-glimpse

git-glimpse logo

@DeDuckProject
Copy link
Owner Author

/glimpse

1 similar comment
@DeDuckProject
Copy link
Owner Author

/glimpse

@DeDuckProject
Copy link
Owner Author

/glimpse

@DeDuckProject
Copy link
Owner Author

/glimpse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant