realtime-updates

Tests live data via WebSocket or polling, connection handling, and reconnection.

Content Preview
# Realtime Updates Template

Tests live data via WebSocket or polling, connection handling, and reconnection.

## Prerequisites
- Authenticated session via `{{authStorageStatePath}}`
- Dashboard with live data at `{{baseUrl}}/dashboard`
- WebSocket endpoint: `{{wsEndpoint}}`

---

## TypeScript

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

test.describe('Realtime Updates', () => {
  test.use({ storageState: '{{authStorageStatePath}}' });

  // Happy path: live metric updates v
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/realtime-updates.md \
  https://raw.githubusercontent.com/alirezarezvani/claude-skills/main/engineering-team/playwright-pro/templates/dashboard/realtime-updates.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/dashboard/realtime-updates.md

Related Skills