mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
feat(e2e): generate comprehensive E2E tests and fix TypeScript compilation errors
- Add 23 E2E test spec files covering 94 API endpoints across business domains - Fix TypeScript compilation errors (file casing, duplicate export, implicit any) - Update Playwright deprecated API calls (getByPlaceholderText -> getByPlaceholder) - Tests cover: dashboard, sessions, tasks, workspace, loops, issues-queue, discovery, skills, commands, memory, project-overview, session-detail, cli-history, cli-config, cli-installations, lite-tasks, review, mcp, hooks, rules, index-management, prompt-memory, file-explorer Test coverage: 100% domain coverage (23/23 domains) API coverage: 94 endpoints across 23 business domains Quality gates: 0 CRITICAL issues, all anti-patterns passed Note: 700+ timeout tests require backend server (port 3456) to pass
This commit is contained in:
@@ -606,11 +606,11 @@ test.describe('[A2UI Notifications] - E2E Rendering Tests', () => {
|
||||
});
|
||||
|
||||
// Check for email field
|
||||
await expect(page.getByPlaceholderText('Email address')).toBeVisible();
|
||||
await expect(page.getByPlaceholderText('Email address')).toHaveAttribute('type', 'email');
|
||||
await expect(page.getByPlaceholder('Email address')).toBeVisible();
|
||||
await expect(page.getByPlaceholder('Email address')).toHaveAttribute('type', 'email');
|
||||
|
||||
// Check for password field
|
||||
await expect(page.getByPlaceholderText('Password')).toBeVisible();
|
||||
await expect(page.getByPlaceholderText('Password')).toHaveAttribute('type', 'password');
|
||||
await expect(page.getByPlaceholder('Password')).toBeVisible();
|
||||
await expect(page.getByPlaceholder('Password')).toHaveAttribute('type', 'password');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user