From 959467de9087d523d786243e74a4500dd92ec43c Mon Sep 17 00:00:00 2001 From: webdevcody Date: Thu, 8 Jan 2026 00:07:23 -0500 Subject: [PATCH] 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. --- apps/ui/tests/git/worktree-integration.spec.ts | 1 - package.json | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ui/tests/git/worktree-integration.spec.ts b/apps/ui/tests/git/worktree-integration.spec.ts index b95755dd..65300029 100644 --- a/apps/ui/tests/git/worktree-integration.spec.ts +++ b/apps/ui/tests/git/worktree-integration.spec.ts @@ -52,7 +52,6 @@ test.describe('Worktree Integration', () => { await authenticateForTests(page); await page.goto('/'); await page.waitForLoadState('load'); - await handleLoginScreenIfPresent(page); await waitForNetworkIdle(page); await waitForBoardView(page); diff --git a/package.json b/package.json index ef8504e5..a65e869c 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "lint": "npm run lint --workspace=apps/ui", "test": "npm run test --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:server": "vitest run --project=server", "test:server:coverage": "vitest run --project=server --coverage",