mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-12 09:12:40 +02:00
test(web): add Composio Drive E2E user journey
This commit is contained in:
parent
ae0caad292
commit
074b06441f
7 changed files with 275 additions and 0 deletions
14
surfsense_web/tests/helpers/ui/composio-drive-config.ts
Normal file
14
surfsense_web/tests/helpers/ui/composio-drive-config.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import type { Page } from "@playwright/test";
|
||||
|
||||
/**
|
||||
* Placeholder for the Composio Drive configuration view (folder
|
||||
* selector + indexing options) rendered by ConnectorEditView.
|
||||
*
|
||||
* Phase 1 specs drive folder/file selection through the API helper
|
||||
* (`updateConnectorConfig`) and `triggerIndex` for determinism. UI-
|
||||
* level interaction with the folder tree is a Phase 2 task; this
|
||||
* module is reserved for those selectors.
|
||||
*/
|
||||
export async function reservedForPhaseTwo(_page: Page): Promise<void> {
|
||||
// Intentionally empty. See README in tests/connectors/composio/drive/.
|
||||
}
|
||||
10
surfsense_web/tests/helpers/ui/connector-status.ts
Normal file
10
surfsense_web/tests/helpers/ui/connector-status.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import type { Page } from "@playwright/test";
|
||||
|
||||
/**
|
||||
* Selectors for connector status indicators (last_indexed_at badge,
|
||||
* indexing spinner, auth-expired banner). Reserved for Phase 2 UI-level
|
||||
* assertions; Phase 1 specs assert these via the API.
|
||||
*/
|
||||
export async function reservedForPhaseTwo(_page: Page): Promise<void> {
|
||||
// Intentionally empty.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue