mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
test(web): bootstrap home smoke pages explicitly
Signed-off-by: Brother Darryl <146fb160a3266e6165bfa385f6048c975eda9e21cf65da097a0b5ea7952532a5@buzz.block.builderlab.xyz>
This commit is contained in:
@@ -2,12 +2,14 @@ import { createHash } from "node:crypto";
|
||||
import { expect, test, bootstrapE2ePage } from "../helpers/test";
|
||||
|
||||
test("home page loads with Buzz branding", async ({ page }) => {
|
||||
await bootstrapE2ePage(page);
|
||||
await expect(
|
||||
page.getByRole("main").getByRole("img", { name: "Buzz" }),
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
test("home page shows repositories section", async ({ page }) => {
|
||||
await bootstrapE2ePage(page);
|
||||
await expect(page.getByText("Repositories")).toBeVisible();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user