rename(phase 1): CapaKraken → Nexus across code, UI, docs, CI (#61)
CI / Architecture Guardrails (push) Successful in 2m38s
CI / Assistant Split Regression (push) Successful in 3m33s
CI / Typecheck (push) Successful in 3m51s
CI / Lint (push) Successful in 5m2s
CI / E2E Tests (push) Has been cancelled
CI / Fresh-Linux Docker Deploy (push) Has been cancelled
CI / Release Images (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Architecture Guardrails (push) Successful in 2m38s
CI / Assistant Split Regression (push) Successful in 3m33s
CI / Typecheck (push) Successful in 3m51s
CI / Lint (push) Successful in 5m2s
CI / E2E Tests (push) Has been cancelled
CI / Fresh-Linux Docker Deploy (push) Has been cancelled
CI / Release Images (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
rename(phase 1): CapaKraken → Nexus across code, UI, docs, CI (#61) Co-authored-by: Hartmut Nörenberg <hn@hartmut-noerenberg.com> Co-committed-by: Hartmut Nörenberg <hn@hartmut-noerenberg.com>
This commit was merged in pull request #61.
This commit is contained in:
@@ -2,7 +2,7 @@ import { expect, test, type Page } from "@playwright/test";
|
||||
|
||||
async function signIn(page: Page) {
|
||||
await page.goto("/auth/signin");
|
||||
await page.fill('input[type="email"]', "admin@capakraken.dev");
|
||||
await page.fill('input[type="email"]', "admin@nexus.dev");
|
||||
await page.fill('input[type="password"]', "admin123");
|
||||
await page.click('button[type="submit"]');
|
||||
await expect(page).toHaveURL(/\/(dashboard|resources)/);
|
||||
@@ -74,9 +74,9 @@ test.describe("Project Detail Page", () => {
|
||||
await page.waitForLoadState("networkidle");
|
||||
|
||||
// BudgetStatusCard renders budget-related content
|
||||
await expect(
|
||||
page.locator("text=Budget").or(page.locator("text=budget")).first(),
|
||||
).toBeVisible({ timeout: 10000 });
|
||||
await expect(page.locator("text=Budget").or(page.locator("text=budget")).first()).toBeVisible({
|
||||
timeout: 10000,
|
||||
});
|
||||
});
|
||||
|
||||
test("unknown project id shows not-found state", async ({ page }) => {
|
||||
@@ -85,7 +85,11 @@ test.describe("Project Detail Page", () => {
|
||||
|
||||
// Server-side notFound() triggers the Next.js 404 page
|
||||
await expect(
|
||||
page.locator("text=404").or(page.locator("text=Not Found")).or(page.locator("text=not found")).first(),
|
||||
page
|
||||
.locator("text=404")
|
||||
.or(page.locator("text=Not Found"))
|
||||
.or(page.locator("text=not found"))
|
||||
.first(),
|
||||
).toBeVisible({ timeout: 10000 });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user