Apply reference design to Astro and add screenshot storage

This commit is contained in:
ik
2026-09-03 07:53:53 +07:00
parent 6d536d0ade
commit c5242720b1
26 changed files with 253 additions and 59 deletions
+2 -2
View File
@@ -2,9 +2,9 @@ import { expect, test } from "@playwright/test";
test("player can open an active spot", async ({ page }) => {
await page.goto("/");
await expect(page.getByRole("heading", { name: "Что клюёт прямо сейчас" })).toBeVisible();
await expect(page.getByRole("heading", { name: "Выбирай место, пока клюёт." })).toBeVisible();
await expect(page.getByRole("heading", { name: "Щука" })).toBeVisible();
await page.getByRole("link", { name: /Точка 110:103/ }).click();
await page.getByTestId("spot-110-103").click();
await expect(page.getByRole("heading", { name: "Точка 110:103" })).toBeVisible();
await expect(page.getByRole("heading", { name: "Последние уловы" })).toBeVisible();
});