e2e-test-guide
Use when writing Playwright E2E tests, integration tests, or browser-based tests.
Skill by tyjpark0317
Chalk Labs
Need help deploying e2e-test-guide?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tyjpark0317-e2e-test-guide
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/e2e-test-guide
What's inside
- Skill name
e2e-test-guide- Description
- Use when writing Playwright E2E tests, integration tests, or browser-based tests. Also use when testing user flows like login, checkout, or search. Triggers on "E2E test", "Playwright test", "integration test", "end-to-end test", "browser test", or "user flow test".
- License
- MIT
- Instructions
- 147 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## Playwright E2E Test Guide
## Step 1: Project Setup — verify playwright config and test accounts
### Installation
```bash
# Install (if not already)
npm install -D @playwright/test # or pnpm/yarn
npx playwright install chromium
# Config: playwright.config.ts (or apps/web/playwright.config.ts in monorepos)
# Env vars loaded from .env.local automatically by config
```
### Test Accounts
Configure test accounts for your application roles:
| Role | Email | Notes |
|------|-------|-------|
| Admin | admin-test@example.com | Has admin permissions |
| User | user-test@example.com | Standard user profile |
### Directory Structure
```
e2e/
├── auth.setup.ts # Global auth setup (cookie-based)
├── fixtures/
│ └── auth.ts # Role-specific page fixtures (adminPage, userPage)
├── pages/
│ ├── home.page.ts
│ ├── dashboard.page.ts
│ └── settings.page.ts
├── user-journey.spec.ts
├── admin-journey.spec.ts
├── edge-cases.spec.ts
└── .auth/ # Stored auth state (gitignored)
```
## Step 2: Auth Fixtures — create cookie-based auth helpers
The auth setup creates authenticated browser contexts per role:
1. Sign in via your auth provider
2. Store auth state (cookies, localStorage) per role
3. Provide role-specific page fixtures for tests
Never use `localStorage` alone for auth — server components read cookies.
## Step 3: Page Objects — create page object classes
### Page Object Pattern
```typescript
// pages/dashboard.page.ts
import { type Page, type Locator } from '@playwright/test';
export class DashboardPage {
readonly heading: Locator;
constructor(private page: Page) {
this.heading = page.getByRole('heading', { name: 'Dashboard' });
}
async goto() {
await this.page.goto('/dashboard');
await this.page.waitForLoadState('networkidle');
}
}
```
## Step 4: Write Tests — implement critical user journey tests
### Critical User Journeys
**Primary User Journey** (highest priority):
1. Home -> Browse items -> Apply filters
2. Click item -> View details
3. Take action (purchase, submit, etc.)
4. Confirmation flow
5. View history -> Manage items
**Admin Journey**:
1. Dashboard -> View statistics
2. Manage content -> CRUD operations
3. User management -> View details
4. Settings -> Configuration
**Edge Cases**:
1. Duplicate action prevention (expect 409)
2. Cancellation within policy period
3. Expired session handling
4. Empty state pages (no items, no history)
5. Mobile viewport responsiveness
### Test Template
```typescript
import { test, expect } from './fixtures/auth';
import { DashboardPage } from './pages/dashboard.page';
test.describe('User Dashboard Journey', () => {
test('can view dashboard after login', async ({ userPage }) => {
const dashboard = new DashboardPage(userPage);
await dashboard.goto();
await expect(dashboard.heading).toBeVisible();
});
});
```
## Step 5: Run and Report — execute tests and generate reports
### Running Tests
```bash
# All E2E tests
npx playwright testFrom tyjpark0317/enterprise-os, MIT.
More from tyjpark0317/enterprise-os
- 0.432score
dev
tyjpark0317
Use as a shortcut for feature-developer work.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
board-meeting
tyjpark0317
Use when convening the executive team for strategic decisions, cross-functional analysis, or board-level reporting.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
chairman-call
tyjpark0317
Use when the chairman wants to discuss, challenge, or revise board meeting results with executives.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
grade-vocabulary
tyjpark0317
Use when verifying vocabulary sync, checking domain term consistency, or auditing naming conventions across agent files.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
grade-workflows
tyjpark0317
Use when verifying end-to-end workflow completion, checking if user scenarios run from trigger to final output.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
create-agent
tyjpark0317
Use when creating new agents, editing existing agents, auditing agent quality, or restructuring the agent system.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
create-hook
tyjpark0317
Use when creating, editing, or auditing hooks.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
create-skill
tyjpark0317
Use when creating new skills, editing existing skills, or evaluating skill effectiveness.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
enhanced-review
tyjpark0317
Use for confidence-based code review with auto-fix cycles.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
execute-plan
tyjpark0317
CEO reads current-state.md and autonomously determines executable tasks, gets chairman approval, then dispatches in parallel.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
grade
tyjpark0317
Use when running a full system evaluation, auditing overall system health, or checking the AI operating system quality.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
grade-agents
tyjpark0317
Use when auditing agents, checking agent configurations, or verifying agent setup quality.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 29, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/tyjpark0317/enterprise-os
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from tyjpark0317
- 0.432score
dev
tyjpark0317
Use as a shortcut for feature-developer work.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
chairman-call
tyjpark0317
Use when the chairman wants to discuss, challenge, or revise board meeting results with executives.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
board-meeting
tyjpark0317
Use when convening the executive team for strategic decisions, cross-functional analysis, or board-level reporting.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
create-agent
tyjpark0317
Use when creating new agents, editing existing agents, auditing agent quality, or restructuring the agent system.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
create-hook
tyjpark0317
Use when creating, editing, or auditing hooks.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
create-skill
tyjpark0317
Use when creating new skills, editing existing skills, or evaluating skill effectiveness.
SkillDFreshness: D★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get e2e-test-guide running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
e2e-test-guide skill. Agent Mart. https://agentmart.dev/skills/tyjpark0317-e2e-test-guide (last updated 2026-10-24)