Files
rf4-spotter/apps/web/tests/catalog-evidence.spec.ts
T
2026-09-20 20:03:34 +07:00

13 lines
645 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { expect, test } from "@playwright/test";
test("waterbody passport and honest empty tackle catalog are explicit", async ({ page }) => {
await page.goto("/waterbodies/р-вьюнок");
const waterPassport = page.locator('.data-passport[aria-label="Паспорт данных"]');
await expect(waterPassport).toBeVisible();
await expect(waterPassport.getByText("Паспорт данных")).toBeVisible();
await expect(waterPassport.getByText("Свежесть")).toBeVisible();
await page.goto("/tackle");
await expect(page.getByText("Подтверждённых карточек пока нет")).toBeVisible();
});