Add Astro moderation queue

This commit is contained in:
ik
2026-09-03 08:11:23 +07:00
parent a528fc707f
commit 03a0ecb5f4
6 changed files with 53 additions and 7 deletions
+3 -2
View File
@@ -3,8 +3,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 page.getByTestId("spot-110-103").click();
const seedSpot = page.getByTestId("spot-110-103");
await expect(seedSpot.getByRole("heading", { name: "Щука" })).toBeVisible();
await seedSpot.click();
await expect(page.getByRole("heading", { name: "Точка 110:103" })).toBeVisible();
await expect(page.getByRole("heading", { name: "Последние уловы" })).toBeVisible();
});