test(e2e-landing): match enterprise redesign and fix Astro dev-server config (#241)

This commit is contained in:
SnapOtter
2026-06-15 22:14:50 +08:00
committed by GitHub
parent 44bfca105f
commit 25babfae15
3 changed files with 43 additions and 61 deletions
-9
View File
@@ -1,14 +1,5 @@
import { expect, test } from "@playwright/test";
test.describe("Docker Command Copy Button", () => {
test("copy button shows Copied! feedback", async ({ page }) => {
await page.goto("/");
const copyButton = page.locator("button[data-copy]");
await copyButton.click();
await expect(page.getByText("Copied!")).toBeVisible();
});
});
test.describe("FAQ Page Accordion", () => {
test.beforeEach(async ({ page }) => {
await page.goto("/faq");