test now STANDARD tier

This commit is contained in:
2026-02-26 18:38:26 +03:00
parent ce684bc5d1
commit a8f7147500
19 changed files with 19 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
// [DEF:frontend.src.components.__tests__.task_log_viewer:Module]
// @TIER: CRITICAL
// @TIER: STANDARD
// @SEMANTICS: tests, task-log, viewer, mount, components
// @PURPOSE: Unit tests for TaskLogViewer component by mounting it and observing the DOM.
// @LAYER: UI (Tests)

View File

@@ -1,5 +1,5 @@
// [DEF:frontend.src.lib.api.__tests__.reports_api:Module]
// @TIER: CRITICAL
// @TIER: STANDARD
// @SEMANTICS: tests, reports, api-client, query-string, error-normalization
// @PURPOSE: Unit tests for reports API client functions: query string building, error normalization, and fetch wrappers.
// @LAYER: Infra (Tests)

View File

@@ -41,7 +41,7 @@ describe('AssistantChatPanel integration contract', () => {
const source = fs.readFileSync(COMPONENT_PATH, 'utf-8');
expect(source).toContain('<!-- [DEF' + ':AssistantChatPanel:Component] -->');
expect(source).toContain('@TIER: CRITICAL');
expect(source).toContain('@TIER: STANDARD');
expect(source).toContain('@UX_STATE: LoadingHistory');
expect(source).toContain('@UX_STATE: Sending');
expect(source).toContain('@UX_STATE: Error');

View File

@@ -1,5 +1,5 @@
// [DEF:__tests__/test_sidebar:Module]
// @TIER: CRITICAL
// @TIER: STANDARD
// @PURPOSE: Unit tests for Sidebar.svelte component
// @LAYER: UI
// @RELATION: VERIFIES -> frontend/src/lib/components/layout/Sidebar.svelte

View File

@@ -1,5 +1,5 @@
// [DEF:__tests__/test_taskDrawer:Module]
// @TIER: CRITICAL
// @TIER: STANDARD
// @PURPOSE: Unit tests for TaskDrawer.svelte component
// @LAYER: UI
// @RELATION: VERIFIES -> frontend/src/lib/components/layout/TaskDrawer.svelte

View File

@@ -1,5 +1,5 @@
// [DEF:__tests__/test_topNavbar:Module]
// @TIER: CRITICAL
// @TIER: STANDARD
// @PURPOSE: Unit tests for TopNavbar.svelte component
// @LAYER: UI
// @RELATION: VERIFIES -> frontend/src/lib/components/layout/TopNavbar.svelte

View File

@@ -2,7 +2,7 @@
* @vitest-environment jsdom
*/
// [DEF:frontend.src.lib.components.reports.__tests__.report_card.ux:Module]
// @TIER: CRITICAL
// @TIER: STANDARD
// @SEMANTICS: reports, ux-tests, card, states, recovery
// @PURPOSE: Test UX states and transitions for ReportCard component
// @LAYER: UI

View File

@@ -1,5 +1,5 @@
// [DEF:frontend.src.lib.components.reports.__tests__.report_detail.integration:Module]
// @TIER: CRITICAL
// @TIER: STANDARD
// @SEMANTICS: tests, reports, detail, recovery-guidance, integration
// @PURPOSE: Validate detail-panel behavior for failed reports and recovery guidance visibility.
// @LAYER: UI (Tests)

View File

@@ -2,7 +2,7 @@
* @vitest-environment jsdom
*/
// [DEF:frontend.src.lib.components.reports.__tests__.report_detail.ux:Module]
// @TIER: CRITICAL
// @TIER: STANDARD
// @SEMANTICS: reports, ux-tests, detail, diagnostics, recovery
// @PURPOSE: Test UX states and recovery for ReportDetailPanel component
// @LAYER: UI

View File

@@ -1,5 +1,5 @@
// [DEF:frontend.src.lib.components.reports.__tests__.report_type_profiles:Module]
// @TIER: CRITICAL
// @TIER: STANDARD
// @SEMANTICS: tests, reports, type-profiles, fallback
// @PURPOSE: Validate report type profile mapping and unknown fallback behavior.
// @LAYER: UI (Tests)

View File

@@ -1,5 +1,5 @@
// [DEF:frontend.src.lib.components.reports.__tests__.reports_page.integration:Module]
// @TIER: CRITICAL
// @TIER: STANDARD
// @SEMANTICS: tests, reports, integration, mixed-types, rendering
// @PURPOSE: Integration-style checks for unified mixed-type reports rendering expectations.
// @LAYER: UI (Tests)

View File

@@ -1,5 +1,5 @@
// [DEF:frontend.src.lib.stores.__tests__.test_taskDrawer:Module]
// @TIER: CRITICAL
// @TIER: STANDARD
// @SEMANTICS: task-drawer, store, mapping, tests
// @PURPOSE: Unit tests for task drawer store
// @LAYER: UI