diff --git a/ui/package.json b/ui/package.json index 25c8f84a0..40e81e23f 100644 --- a/ui/package.json +++ b/ui/package.json @@ -11,7 +11,7 @@ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "lint": "prettier --check . && eslint .", "format": "prettier --write .", - "test:api-auth": "playwright test tests/api-auth.spec.ts --config=playwright.config.apiauth.ts --ui", + "test:api-auth": "playwright test tests/api-auth.spec.ts --config=playwright.config.apiauth.ts", "test:integration": "playwright test", "test:install": "playwright install", "test:unit": "vitest run" diff --git a/ui/tests/api-auth.spec.ts b/ui/tests/api-auth.spec.ts index caa280468..790ef069d 100644 --- a/ui/tests/api-auth.spec.ts +++ b/ui/tests/api-auth.spec.ts @@ -66,7 +66,6 @@ test.describe.serial('Authentication Tests', () => { test('authenticated access', async ({ page }) => { await page.goto(`/auth?token=${extractedToken}`) await page.waitForSelector('role=link[name="Overview"]', { state: 'visible', timeout: 10000 }) - await page.getByRole('link', { name: 'Overview' }).click() const nodeCountEl = page.getByTestId('resource-count-nodes') await expect(nodeCountEl).toHaveText('1') })