test now STANDARD tier
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# [DEF:backend.tests.test_reports_api:Module]
|
||||
# @TIER: CRITICAL
|
||||
# @TIER: STANDARD
|
||||
# @SEMANTICS: tests, reports, api, contract, pagination, filtering
|
||||
# @PURPOSE: Contract tests for GET /api/reports defaults, pagination, and filtering behavior.
|
||||
# @LAYER: Domain (Tests)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# [DEF:backend.tests.test_reports_detail_api:Module]
|
||||
# @TIER: CRITICAL
|
||||
# @TIER: STANDARD
|
||||
# @SEMANTICS: tests, reports, api, detail, diagnostics
|
||||
# @PURPOSE: Contract tests for GET /api/reports/{report_id} detail endpoint behavior.
|
||||
# @LAYER: Domain (Tests)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# [DEF:backend.tests.test_reports_openapi_conformance:Module]
|
||||
# @TIER: CRITICAL
|
||||
# @TIER: STANDARD
|
||||
# @SEMANTICS: tests, reports, openapi, conformance
|
||||
# @PURPOSE: Validate implemented reports payload shape against OpenAPI-required top-level contract fields.
|
||||
# @LAYER: Domain (Tests)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# [DEF:test_report_models:Module]
|
||||
# @TIER: CRITICAL
|
||||
# @TIER: STANDARD
|
||||
# @PURPOSE: Unit tests for report Pydantic models and their validators
|
||||
# @LAYER: Domain
|
||||
# @RELATION: TESTS -> backend.src.models.report
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# [DEF:test_encryption_manager:Module]
|
||||
# @TIER: CRITICAL
|
||||
# @TIER: STANDARD
|
||||
# @SEMANTICS: encryption, security, fernet, api-keys, tests
|
||||
# @PURPOSE: Unit tests for EncryptionManager encrypt/decrypt functionality.
|
||||
# @LAYER: Domain
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# [DEF:backend.tests.test_report_normalizer:Module]
|
||||
# @TIER: CRITICAL
|
||||
# @TIER: STANDARD
|
||||
# @SEMANTICS: tests, reports, normalizer, fallback
|
||||
# @PURPOSE: Validate unknown task type fallback and partial payload normalization behavior.
|
||||
# @LAYER: Domain (Tests)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# [DEF:test_report_service:Module]
|
||||
# @TIER: CRITICAL
|
||||
# @TIER: STANDARD
|
||||
# @PURPOSE: Unit tests for ReportsService list/detail operations
|
||||
# @LAYER: Domain
|
||||
# @RELATION: TESTS -> backend.src.services.reports.report_service.ReportsService
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user