semantics
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// @@REJECTED Using waitForSelector('text=...') fails for locale-sensitive text. getByLabel() with connections.* keys fails when i18n namespace missing. Using page.goto() with authPage fixture causes page reload issues
|
||||
|
||||
// Validates: bundle deployment, PostgreSQL fresh DB, initial admin bootstrap, environment creation wizard.
|
||||
// @RELATION VERIFIES -> [StartupEnvironmentWizard, LoginPage, EnvironmentsTab]
|
||||
// @RELATION BINDS_TO -> [[EXT:list:StartupEnvironmentWizard_LoginPage_EnvironmentsTab]]
|
||||
// @RELATION DEPENDS_ON -> [ApiHelper]
|
||||
// @UX_STATE WizardIntro -> Wizard explains setup purpose with "Start setup" button.
|
||||
// @UX_STATE WizardForm -> Form collects environment ID, name, URL, username, password, stage.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// #region GitE2E [C:3] [TYPE Test] [SEMANTICS e2e, git, integration, config]
|
||||
// @BRIEF E2E tests for Git integration — config CRUD, connection test.
|
||||
// @RELATION VERIFIES -> [GitDashboardPage, GitConfigRoutes]
|
||||
// @RELATION BINDS_TO -> [[EXT:list:GitDashboardPage_GitConfigRoutes]]
|
||||
// @UX_STATE ConfigCreated -> Git server appears in configured list.
|
||||
// @UX_STATE ConnectionTested -> Success/failure toast feedback.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// #region LiveProjectCheckE2E [C:4] [TYPE Test] [SEMANTICS e2e, live-project, verification, dashboard, llm, settings]
|
||||
// @BRIEF Stage 2: E2E test for live project verification — validates dashboard LLM analysis,
|
||||
// settings modification, and overall project health after ./run.sh startup.
|
||||
// @RELATION VERIFIES -> [DashboardHub, LLM, SettingsPage]
|
||||
// @RELATION BINDS_TO -> [[EXT:list:DashboardHub_LLM_SettingsPage]]
|
||||
// @RELATION DEPENDS_ON -> [ApiHelper]
|
||||
// @UX_STATE DashboardsLoaded -> Dashboard hub with environment context, dashboard cards visible.
|
||||
// @UX_STATE LLMAnalysis -> LLM analysis triggered and report generated for a dashboard.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// #region LoginE2E [C:3] [TYPE Test] [SEMANTICS e2e, login, auth, ui]
|
||||
// @BRIEF E2E tests for login/logout flow.
|
||||
// @RELATION VERIFIES -> [LoginPage]
|
||||
// @RELATION BINDS_TO -> [LoginPage]
|
||||
// @UX_STATE LoginForm -> Form rendered with username, password fields, submit button.
|
||||
// @UX_STATE Authenticated -> Redirect to dashboards with sidebar visible.
|
||||
// @UX_STATE InvalidCredentials -> Error toast or message shown.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// #region MigrationE2E [C:3] [TYPE Test] [SEMANTICS e2e, migration, sync, datasets]
|
||||
// @BRIEF E2E tests for dataset/environment migration and sync.
|
||||
// @RELATION VERIFIES -> [MigrationApi, SettingsPage]
|
||||
// @RELATION BINDS_TO -> [[EXT:list:MigrationApi_SettingsPage]]
|
||||
// @UX_STATE SyncTriggered -> Sync-now request accepted.
|
||||
// @UX_STATE MappingsLoaded -> Synchronized resources table populated.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// #region SettingsE2E [C:3] [TYPE Test] [SEMANTICS e2e, settings, environments, llm, git]
|
||||
// @BRIEF E2E tests for Settings page — environments, LLM providers, Git config.
|
||||
// @RELATION VERIFIES -> [SettingsPage]
|
||||
// @RELATION BINDS_TO -> [SettingsPage]
|
||||
// @UX_STATE TabNavigated -> Active tab content is displayed.
|
||||
// @UX_STATE EnvironmentAdded -> New Superset env appears in list.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// #region SmokeE2E [C:4] [TYPE Test] [SEMANTICS e2e, smoke, golden-path, full-stack]
|
||||
// @BRIEF Golden-path smoke test: login → settings → translate → git → verify.
|
||||
// @RELATION VERIFIES -> [LoginPage, SettingsPage, TranslateJob, GitConfig]
|
||||
// @RELATION BINDS_TO -> [[EXT:list:LoginPage_SettingsPage_TranslateJob_GitConfig]]
|
||||
// @UX_STATE FullCycle -> All key user journeys executed sequentially.
|
||||
// @RATIONALE Single sequential test verifies the entire stack without per-test setup overhead.
|
||||
// Runs in ~30s when backend is warm. Mirrors the manual E2E check.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// #region TranslationE2E [C:3] [TYPE Test] [SEMANTICS e2e, translate, job, preview, run]
|
||||
// @BRIEF E2E tests for the translation job lifecycle: create → preview → accept → run.
|
||||
// @RELATION VERIFIES -> [TranslatePage, TranslateJobRoutes]
|
||||
// @RELATION BINDS_TO -> [[EXT:list:TranslatePage_TranslateJobRoutes]]
|
||||
// @UX_STATE JobCreated -> Job appears in list with DRAFT status.
|
||||
// @UX_STATE PreviewCreated -> Preview session with sample rows visible.
|
||||
// @UX_STATE JobRunning -> Run object created with PENDING status.
|
||||
|
||||
Reference in New Issue
Block a user