mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-08 01:14:52 +00:00
website e2e: expect the current Featured subtitle
This commit is contained in:
@@ -451,7 +451,7 @@ test.describe("registry fixture layout", () => {
|
||||
await openPlugins(page);
|
||||
await expect(page.getByRole("heading", { level: 2 }).first()).toHaveText("Featured");
|
||||
const featured = page.getByRole("region", { name: "Featured" });
|
||||
await expect(featured).toContainText("Hand-picked by the maintainer.");
|
||||
await expect(featured).toContainText("A selection of hand picked plugins");
|
||||
await expect(featured.getByRole("link", { name: /Added/ })).toHaveText([
|
||||
/Dracula/,
|
||||
/Herald/,
|
||||
|
||||
Reference in New Issue
Block a user