From 5131f9c9c62f4f353531611ce971fa66ee7d8496 Mon Sep 17 00:00:00 2001 From: bymyself Date: Thu, 5 Feb 2026 13:03:55 -0800 Subject: [PATCH] style: apply formatting Amp-Thread-ID: https://ampcode.com/threads/T-019c2f99-6c3b-701e-8f90-4f897ecf85d8 --- .claude/skills/writing-playwright-tests/SKILL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.claude/skills/writing-playwright-tests/SKILL.md b/.claude/skills/writing-playwright-tests/SKILL.md index b1cb88d778..02212038f9 100644 --- a/.claude/skills/writing-playwright-tests/SKILL.md +++ b/.claude/skills/writing-playwright-tests/SKILL.md @@ -121,12 +121,14 @@ await expect(async () => { Avoid these common mistakes: 1. **Arbitrary waits** - Use retrying assertions instead + ```typescript // ❌ await page.waitForTimeout(500) // ✅ await expect(element).toBeVisible() ``` 2. **Implementation-tied selectors** - Use test IDs or semantic selectors + ```typescript // ❌ page.locator('div.container > button.btn-primary') // ✅ page.getByTestId('submit-button')