feat(jobs): integrate table and board workspace
This commit is contained in:
@@ -366,8 +366,8 @@ for (const mode of ["light", "dark"] as const) for (const language of ["en", "nb
|
||||
const navigation = page.getByRole("navigation", { name: t.navigation });
|
||||
await expect(navigation.getByText(t.jobSearch, { exact: true })).toBeVisible();
|
||||
await expect(navigation.getByText(t.career, { exact: true })).toBeVisible();
|
||||
await expect(navigation.getByRole("button", { name: t.jobApplications, exact: true })).toHaveAttribute("aria-current", "location");
|
||||
await expect(navigation.getByRole("button", { name: t.kanbanBoard, exact: true })).toHaveAttribute("aria-current", "page");
|
||||
await expect(navigation.getByRole("button", { name: t.jobApplications, exact: true })).toHaveAttribute("aria-current", "page");
|
||||
await expect(page.getByRole("link", { name: t.jobsBoardView, exact: true })).toHaveAttribute("aria-current", "page");
|
||||
await expect(navigation.getByRole("button", { name: t.connectedAccounts, exact: true })).toBeInViewport({ ratio: 1 });
|
||||
await expect(page.getByRole("link", { name: t.skipToMainContent, exact: true })).toHaveAttribute("href", "#app-main-content");
|
||||
await capture(page, info, `grouped-shell-${suffix}`);
|
||||
@@ -392,9 +392,9 @@ for (const mode of ["light", "dark"] as const) for (const language of ["en", "nb
|
||||
await expect(drawer.getByRole("button", { name: t.trash, exact: true })).toHaveAttribute("aria-current", "page");
|
||||
await capture(page, info, `grouped-mobile-${suffix}`);
|
||||
await scan(page, info, `grouped-mobile-${suffix}`, '[role="dialog"]');
|
||||
await drawer.getByRole("button", { name: t.kanbanBoard, exact: true }).click();
|
||||
await expect(page).toHaveURL(/\/kanban$/);
|
||||
await expect(page.getByRole("heading", { level: 1, name: t.kanbanBoard, exact: true })).toBeFocused();
|
||||
await drawer.getByRole("button", { name: t.jobApplications, exact: true }).click();
|
||||
await expect(page).toHaveURL(/\/jobs$/);
|
||||
await expect(page.getByRole("heading", { level: 1, name: t.jobApplications, exact: true })).toBeFocused();
|
||||
await expect(drawer).not.toBeVisible();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user