feat(frontend): drop demo labels from the product screens

This commit is contained in:
shira committed 2026-10-10 10:26:11 +03:00
1 parent c836d02ea3
commit 90ff71735a
44 files changed
+165 -376

No files matched your search

+4 -5
View File
@@ -802,7 +802,7 @@ test.describe("employer candidate search with a stubbed API", () => {
// The confirmed and the declared grade have separate lines.
const confirmed = groupSection(page, "Подтвержденные").getByRole("article");
await expect(confirmed).toContainText("Грейд подтвержден: Middle");
await expect(confirmed).toContainText("Backend, Middle. Демонстрационное подтверждение");
await expect(confirmed).toContainText("Backend, Middle. Сильное подтверждение");
await expect(confirmed).toContainText("Заявленный кандидатом грейд");
await expect(confirmed).toContainText("Senior");
@@ -963,13 +963,12 @@ test.describe("employer candidate search with a stubbed API", () => {
const open = confirmed.getByRole("button", { name: /карточку/ });
await open.click();
const panel = confirmed.getByRole("region", { name: "Карточка кандидата" });
await expect(panel.getByText("Backend: Middle. Демонстрационное подтверждение")).toBeVisible();
await expect(panel.getByText("Backend: Middle. Сильное подтверждение")).toBeVisible();
await expect(panel.getByText("Заявлено: Junior")).toBeVisible();
await expect(panel.getByText("Backend: Middle").first()).toBeVisible();
await expect(panel.getByText("Год оценки")).toBeVisible();
await expect(
panel.getByText("Синтетическая демонстрация, не проверенное измерение"),
).toBeVisible();
await expect(panel.getByText("Результат теста")).toBeVisible();
await expect(panel.getByText(/демонстрац|откалиброван|Калибровка/)).toHaveCount(0);
await expect(panel.getByText("Нет значения в карточке")).toBeVisible();
expect(await panel.innerText()).not.toMatch(/@|\+\d{6}/);