diff --git a/skills/playwright-cli/references/spec-driven-testing.md b/skills/playwright-cli/references/spec-driven-testing.md index f37bdb4..d0c0a18 100644 --- a/skills/playwright-cli/references/spec-driven-testing.md +++ b/skills/playwright-cli/references/spec-driven-testing.md @@ -191,7 +191,7 @@ Collect the generated code and write the test file at the path given in the spec // seed: tests/seed.spec.ts import { test, expect } from './fixtures'; // or '@playwright/test' if no fixtures file -test.describe('Singing in and out', () => { +test.describe('Signing in and out', () => { test('should sign in', async ({ page }) => { // 1. Navigate to the application // (handled by the seed fixture) diff --git a/skills/playwright-cli/references/storage-state.md b/skills/playwright-cli/references/storage-state.md index c856db5..bb5021a 100644 --- a/skills/playwright-cli/references/storage-state.md +++ b/skills/playwright-cli/references/storage-state.md @@ -38,7 +38,7 @@ The saved file contains: "value": "abc123", "domain": "example.com", "path": "/", - "expires": 1735689600, + "expires": 1893456000, "httpOnly": true, "secure": true, "sameSite": "Lax" @@ -92,7 +92,7 @@ playwright-cli cookie-set session abc123 playwright-cli cookie-set session abc123 --domain=example.com --path=/ --httpOnly --secure --sameSite=Lax # Cookie with expiration (Unix timestamp) -playwright-cli cookie-set remember_me token123 --expires=1735689600 +playwright-cli cookie-set remember_me token123 --expires=1893456000 ``` ### Delete a Cookie diff --git a/skills/playwright-cli/references/video-recording.md b/skills/playwright-cli/references/video-recording.md index ce9ad6a..5209d21 100644 --- a/skills/playwright-cli/references/video-recording.md +++ b/skills/playwright-cli/references/video-recording.md @@ -40,7 +40,7 @@ playwright-cli video-start recordings/checkout-test-run-42.webm ### 2. Record entire hero scripts. When recording a video for the user or as a proof of work, it is best to create a code snippet and execute it with run-code. -It allows pulling appropriate pauses between the actions and annotating the video. There are new Playwright APIs for that. +It allows inserting appropriate pauses between the actions and annotating the video. There are new Playwright APIs for that. 1) Perform scenario using CLI and take note of all locators and actions. You'll need those locators to request their bounding boxes for highlight. 2) Create a file with the intended script for video (below). Use pressSequentially w/ delay for nice typing, make reasonable pauses.