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

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:
2026-05-21 16:28:40 +02:00
committed by Hartmut
parent d9a7ec0338
commit b41c1d2501
943 changed files with 24548 additions and 16832 deletions
+17 -12
View File
@@ -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)/);
@@ -16,16 +16,17 @@ test.describe("Chargeability Report", () => {
test("chargeability forecast page loads with heading", async ({ page }) => {
await page.waitForLoadState("networkidle");
await expect(
page.locator("h1", { hasText: "Chargeability Forecast" }),
).toBeVisible({ timeout: 10000 });
await expect(page.locator("h1", { hasText: "Chargeability Forecast" })).toBeVisible({
timeout: 10000,
});
});
test("filter controls are present", async ({ page }) => {
await page.waitForLoadState("networkidle");
// Should have at least one filter (e.g., chapter, period, resource search)
await expect(
page.locator('input[type="text"]')
page
.locator('input[type="text"]')
.or(page.locator('input[type="search"]'))
.or(page.locator("select"))
.first(),
@@ -64,9 +65,9 @@ test.describe("Report Builder", () => {
test("report builder page loads with heading", async ({ page }) => {
await page.waitForLoadState("networkidle");
await expect(
page.getByRole("heading", { name: "Report Builder" }),
).toBeVisible({ timeout: 10000 });
await expect(page.getByRole("heading", { name: "Report Builder" })).toBeVisible({
timeout: 10000,
});
});
test("entity selector is present with expected options", async ({ page }) => {
@@ -78,9 +79,9 @@ test.describe("Report Builder", () => {
test("run report button is visible", async ({ page }) => {
await page.waitForLoadState("networkidle");
await expect(
page.locator("button", { hasText: /Run|Export|Generate/i }).first(),
).toBeVisible({ timeout: 10000 });
await expect(page.locator("button", { hasText: /Run|Export|Generate/i }).first()).toBeVisible({
timeout: 10000,
});
});
test("running a default report produces output or empty state", async ({ page }) => {
@@ -90,7 +91,11 @@ test.describe("Report Builder", () => {
await runBtn.click();
await page.waitForTimeout(1500);
await expect(
page.locator("table").or(page.locator("text=No rows")).or(page.locator("text=0 rows")).first(),
page
.locator("table")
.or(page.locator("text=No rows"))
.or(page.locator("text=0 rows"))
.first(),
).toBeVisible({ timeout: 15000 });
}
});