mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-14 02:42:04 +08:00
feat: Implement dynamic test-fix execution phase with adaptive task generation
- Added Phase 2: Test-Cycle Execution documentation outlining the process for dynamic test-fix execution, including agent roles, core responsibilities, intelligent strategy engine, and progressive testing. - Introduced new PowerShell scripts for analyzing TypeScript errors, focusing on error categorization and reporting. - Created end-to-end tests for the Help Page, ensuring content visibility, documentation navigation, internationalization support, and accessibility compliance.
This commit is contained in:
@@ -29,9 +29,12 @@ export async function switchLanguageAndVerify(
|
||||
await expectToBeVisible(targetOption);
|
||||
await targetOption.click();
|
||||
|
||||
// Wait for language change to take effect
|
||||
// Note: Using hardcoded wait as per existing pattern - should be improved in future
|
||||
await page.waitForTimeout(500);
|
||||
// Wait for HTML lang attribute update (explicit wait instead of timeout)
|
||||
await page.waitForFunction(
|
||||
(expectedLocale) => document.documentElement.lang === expectedLocale,
|
||||
locale,
|
||||
{ timeout: 5000 }
|
||||
);
|
||||
|
||||
// Verify the switcher text content is updated
|
||||
const expectedText = locale === 'zh' ? '中文' : 'English';
|
||||
|
||||
Reference in New Issue
Block a user