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:backend.tests.test_reports_api:Module] # [DEF:backend.tests.test_reports_api:Module]
# @TIER: CRITICAL # @TIER: STANDARD
# @SEMANTICS: tests, reports, api, contract, pagination, filtering # @SEMANTICS: tests, reports, api, contract, pagination, filtering
# @PURPOSE: Contract tests for GET /api/reports defaults, pagination, and filtering behavior. # @PURPOSE: Contract tests for GET /api/reports defaults, pagination, and filtering behavior.
# @LAYER: Domain (Tests) # @LAYER: Domain (Tests)

View File

@@ -1,5 +1,5 @@
# [DEF:backend.tests.test_reports_detail_api:Module] # [DEF:backend.tests.test_reports_detail_api:Module]
# @TIER: CRITICAL # @TIER: STANDARD
# @SEMANTICS: tests, reports, api, detail, diagnostics # @SEMANTICS: tests, reports, api, detail, diagnostics
# @PURPOSE: Contract tests for GET /api/reports/{report_id} detail endpoint behavior. # @PURPOSE: Contract tests for GET /api/reports/{report_id} detail endpoint behavior.
# @LAYER: Domain (Tests) # @LAYER: Domain (Tests)

View File

@@ -1,5 +1,5 @@
# [DEF:backend.tests.test_reports_openapi_conformance:Module] # [DEF:backend.tests.test_reports_openapi_conformance:Module]
# @TIER: CRITICAL # @TIER: STANDARD
# @SEMANTICS: tests, reports, openapi, conformance # @SEMANTICS: tests, reports, openapi, conformance
# @PURPOSE: Validate implemented reports payload shape against OpenAPI-required top-level contract fields. # @PURPOSE: Validate implemented reports payload shape against OpenAPI-required top-level contract fields.
# @LAYER: Domain (Tests) # @LAYER: Domain (Tests)

View File

@@ -1,5 +1,5 @@
# [DEF:test_report_models:Module] # [DEF:test_report_models:Module]
# @TIER: CRITICAL # @TIER: STANDARD
# @PURPOSE: Unit tests for report Pydantic models and their validators # @PURPOSE: Unit tests for report Pydantic models and their validators
# @LAYER: Domain # @LAYER: Domain
# @RELATION: TESTS -> backend.src.models.report # @RELATION: TESTS -> backend.src.models.report

View File

@@ -1,5 +1,5 @@
# [DEF:test_encryption_manager:Module] # [DEF:test_encryption_manager:Module]
# @TIER: CRITICAL # @TIER: STANDARD
# @SEMANTICS: encryption, security, fernet, api-keys, tests # @SEMANTICS: encryption, security, fernet, api-keys, tests
# @PURPOSE: Unit tests for EncryptionManager encrypt/decrypt functionality. # @PURPOSE: Unit tests for EncryptionManager encrypt/decrypt functionality.
# @LAYER: Domain # @LAYER: Domain

View File

@@ -1,5 +1,5 @@
# [DEF:backend.tests.test_report_normalizer:Module] # [DEF:backend.tests.test_report_normalizer:Module]
# @TIER: CRITICAL # @TIER: STANDARD
# @SEMANTICS: tests, reports, normalizer, fallback # @SEMANTICS: tests, reports, normalizer, fallback
# @PURPOSE: Validate unknown task type fallback and partial payload normalization behavior. # @PURPOSE: Validate unknown task type fallback and partial payload normalization behavior.
# @LAYER: Domain (Tests) # @LAYER: Domain (Tests)

View File

@@ -1,5 +1,5 @@
# [DEF:test_report_service:Module] # [DEF:test_report_service:Module]
# @TIER: CRITICAL # @TIER: STANDARD
# @PURPOSE: Unit tests for ReportsService list/detail operations # @PURPOSE: Unit tests for ReportsService list/detail operations
# @LAYER: Domain # @LAYER: Domain
# @RELATION: TESTS -> backend.src.services.reports.report_service.ReportsService # @RELATION: TESTS -> backend.src.services.reports.report_service.ReportsService

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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