feat: clarify spot card call to action
CI / backend-and-migrations (push) Canceled after 0s
CI / astro-build (push) Canceled after 0s
CI / dependency-audit (push) Canceled after 0s
CI / compose-e2e (push) Canceled after 0s

This commit is contained in:
ik committed 2026-09-20 20:34:42 +07:00
1 parent 346ecd2dbe
commit 3260f91495
4 files changed
+5 -1

No files matched your search

+2
View File
@@ -7,11 +7,13 @@ test("activity cards explain freshness, sample size and coordinate precision", a
const count = await passport.count();
expect(count).toBeGreaterThan(0);
const first = passport.first();
const firstCard = page.locator(".spot-card").first();
await expect(first).toContainText("Свежесть");
await expect(first).toContainText("Наблюдения");
await expect(first).toContainText("Игроки");
await expect(first).toContainText("Координаты");
await expect(first).toContainText("Период");
await expect(firstCard).toContainText("Открыть точку");
if (await first.locator('[data-passport-status="incomplete"]').count()) {
await expect(first).toContainText("Минимум для рекомендации: 3 наблюдения");
}