update-quantity

Tests increasing, decreasing, and removing items from cart.

Content Preview
# Update Cart Quantity Template

Tests increasing, decreasing, and removing items from cart.

## Prerequisites
- Cart with at least one item: `{{productName}}` (quantity 2)
- App running at `{{baseUrl}}`

---

## TypeScript

```typescript
import { test, expect } from '@playwright/test';

test.describe('Update Cart Quantity', () => {
  test.beforeEach(async ({ page }) => {
    await page.goto('{{baseUrl}}/cart');
    // Assumes cart is pre-populated via storageState or API setup
  });

  // Happy
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/update-quantity.md \
  https://raw.githubusercontent.com/alirezarezvani/claude-skills/main/engineering-team/playwright-pro/templates/checkout/update-quantity.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/alirezarezvani/claude-skills

Then reference at engineering-team/playwright-pro/templates/checkout/update-quantity.md

Related Skills