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:
catlog22
2026-02-07 17:01:30 +08:00
parent 4ce4419ea6
commit ba5f4eba84
70 changed files with 7288 additions and 488 deletions

View File

@@ -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';