feat: replace account page accordion with tabs and show open position result (#112)
Frontend verify / commits (pull_request) Successful in 38s
Frontend verify / security (pull_request) Successful in 27s
Frontend verify / verify (pull_request) Failing after 7m42s

This commit is contained in:
2026-10-26 20:01:26 +03:00
parent 1a92f023c1
commit 8fb7270575
18 changed files with 620 additions and 134 deletions
+10 -8
View File
@@ -303,14 +303,16 @@ describe("All accounts routes", () => {
"href",
`/accounts/${account.id}`,
);
for (const suffix of ["operations", "income", "events"])
expect(
screen
.getAllByRole("link")
.find(
link => link.getAttribute("href") === `/accounts/all/${suffix}`,
),
).toBeInTheDocument();
for (const [suffix, tab] of [
["operations", "Операции"],
["income", "Доход"],
["events", "События"],
]) {
fireEvent.click(screen.getByRole("tab", { name: tab }));
expect(screen.getByRole("link", { name: "Подробнее" }))
.toHaveAttribute("href", `/accounts/all/${suffix}`);
}
});
it("switches accounts within operations with applied filters and a fresh cursor", async () => {