mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-05 09:33:07 +00:00
feat: add UI test command and clean up integration test
- Introduced a new npm script "test:ui" for running UI tests in the apps/ui workspace. - Removed unnecessary login screen handling from the worktree integration test to streamline the test flow.
This commit is contained in:
@@ -52,7 +52,6 @@ test.describe('Worktree Integration', () => {
|
|||||||
await authenticateForTests(page);
|
await authenticateForTests(page);
|
||||||
await page.goto('/');
|
await page.goto('/');
|
||||||
await page.waitForLoadState('load');
|
await page.waitForLoadState('load');
|
||||||
await handleLoginScreenIfPresent(page);
|
|
||||||
await waitForNetworkIdle(page);
|
await waitForNetworkIdle(page);
|
||||||
await waitForBoardView(page);
|
await waitForBoardView(page);
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
"lint": "npm run lint --workspace=apps/ui",
|
"lint": "npm run lint --workspace=apps/ui",
|
||||||
"test": "npm run test --workspace=apps/ui",
|
"test": "npm run test --workspace=apps/ui",
|
||||||
"test:headed": "npm run test:headed --workspace=apps/ui",
|
"test:headed": "npm run test:headed --workspace=apps/ui",
|
||||||
|
"test:ui": "npm run test --workspace=apps/ui -- --ui",
|
||||||
"test:packages": "vitest run --project='!server'",
|
"test:packages": "vitest run --project='!server'",
|
||||||
"test:server": "vitest run --project=server",
|
"test:server": "vitest run --project=server",
|
||||||
"test:server:coverage": "vitest run --project=server --coverage",
|
"test:server:coverage": "vitest run --project=server --coverage",
|
||||||
|
|||||||
Reference in New Issue
Block a user