test(frontend): add comprehensive test coverage for Phase 3
CI / CD Pipeline / build (push) Successful in 5m38s
CI / CD Pipeline / deploy (push) Failing after 11m12s

- Add AI component tests (ContextConfigEditor, PromptEditor, RuntimeParametersPanel, SandboxTabs, VersionHistory)
- Add layout component tests (GlobalSearch, NotificationsDropdown, ProjectSwitcher, Sidebar, UserMenu)
- Update vitest.setup.ts for better test configuration
- Update .gitignore to exclude test artifacts
- All 722 tests passing
This commit is contained in:
2026-06-14 20:53:13 +07:00
parent 9833ce23ce
commit 1d246353a8
13 changed files with 654 additions and 1 deletions
+5
View File
@@ -87,3 +87,8 @@ if (!Element.prototype.setPointerCapture) {
if (!Element.prototype.releasePointerCapture) {
Element.prototype.releasePointerCapture = () => {};
}
// Mock scrollIntoView for cmdk component
if (!Element.prototype.scrollIntoView) {
Element.prototype.scrollIntoView = vi.fn();
}