mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
ci: add regression test for matching main page correctly in router example
This commit is contained in:
parent
1d4772251a
commit
67dd188358
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ test.describe("Test Router example", () => {
|
|||
await page.goto("/");
|
||||
});
|
||||
|
||||
test("Starts on correct home page", async({ page }) => {
|
||||
await expect(page.getByText("Select a contact.")).toBeVisible();
|
||||
});
|
||||
|
||||
const links = [
|
||||
{ label: "Bill Smith", url: "/0" },
|
||||
{ label: "Tim Jones", url: "/1" },
|
||||
|
|
Loading…
Reference in a new issue