Align the project baseline with the latest admin interface styling and layout structure while documenting setup and usage updates in README.
16 lines
708 B
TypeScript
16 lines
708 B
TypeScript
import { expect, test } from "@playwright/test";
|
|
|
|
test.describe("§15.7 scenario 1: Landing", () => {
|
|
test("hero and marquee are visible", async ({ page }) => {
|
|
await page.goto("/");
|
|
await expect(page.getByRole("heading", { name: /Технологии будущего на вашей ферме/i })).toBeVisible();
|
|
await expect(page.locator("#integrations .marquee-track")).toBeVisible();
|
|
});
|
|
|
|
test("respects prefers-reduced-motion", async ({ page }) => {
|
|
await page.emulateMedia({ reducedMotion: "reduce" });
|
|
await page.goto("/");
|
|
await expect(page.getByRole("heading", { name: /Технологии будущего на вашей ферме/i })).toBeVisible();
|
|
});
|
|
});
|