diff --git a/web/src/issues/IssueModal.test.tsx b/web/src/issues/IssueModal.test.tsx
index 7ff09eb..1259ac0 100644
--- a/web/src/issues/IssueModal.test.tsx
+++ b/web/src/issues/IssueModal.test.tsx
@@ -41,7 +41,7 @@ describe("карточка окном", () => {
expect(await within(dialog()).findByRole("heading", { name: /AURORA-9002/ })).toBeInTheDocument();
expect(within(screen.getByRole("main")).getByRole("table")).toBe(table); // таблица команд карточки — в окне, не в main // фон не пересоздаётся
expect(screen.getByLabelText("Спринт")).toHaveValue("AWPCA_Спринт 2"); // фильтр фона — из его адреса
- expect(screen.getByRole("link", { name: "Задачи" })).toHaveClass("active");
+ expect(screen.getByRole("link", { name: "Задачи" })).toHaveAttribute("aria-current", "page");
await userEvent.click(within(dialog()).getByRole("button", { name: "Закрыть" }));
await waitFor(() => expect(screen.queryByRole("dialog")).toBeNull());
expect(router.state.location.pathname).toBe("/app/issues");
@@ -88,7 +88,7 @@ describe("карточка окном", () => {
expect(router.state.location.pathname).toBe("/app/issues/AURORA-9001");
});
- it("с доски: окно поверх доски, вкладка «Доска» активна, после закрытия доска та же", async () => {
+ it("с доски: окно поверх доски, раздел «Доска связей» активен, после закрытия доска та же", async () => {
const router = at(["/app/board"]);
render(
);
const ilink = await screen.findByRole("link", { name: "Открыть карточку AURORA-9001" });
@@ -96,7 +96,7 @@ describe("карточка окном", () => {
await userEvent.click(ilink);
expect(await within(dialog()).findByRole("heading", { name: /AURORA-9001/ })).toBeInTheDocument();
expect(screen.getByTestId("page-board")).toBe(boardEl);
- expect(screen.getByRole("link", { name: "Доска" })).toHaveClass("active");
+ expect(screen.getByRole("link", { name: "Доска связей" })).toHaveAttribute("aria-current", "page");
await userEvent.click(within(dialog()).getByRole("button", { name: "Закрыть" }));
await waitFor(() => expect(router.state.location.pathname).toBe("/app/board"));
expect(screen.getByTestId("page-board")).toBe(boardEl);
diff --git a/web/src/projects/NewProjectDialog.tsx b/web/src/projects/NewProjectDialog.tsx
index 5d4d176..1c3b955 100644
--- a/web/src/projects/NewProjectDialog.tsx
+++ b/web/src/projects/NewProjectDialog.tsx
@@ -5,7 +5,7 @@ import type { Project } from "../api/types.ts";
import "./projects.css";
// окно «Новый проект» (как IssueModal):