mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
test(desktop): target exact project guide link
Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
This commit is contained in:
co-authored by
Taylor Ho
parent
7d6db33ba3
commit
64caedcd4a
@@ -188,7 +188,7 @@ test("commit detail opens from the commits feed with a diff", async ({
|
||||
page.getByRole("button", { name: "Copy commit hash" }),
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole("link", { name: "project guide" }),
|
||||
page.getByRole("link", { name: "project guide", exact: true }),
|
||||
).toHaveAttribute("href", "https://example.com/project-guide");
|
||||
await expect(
|
||||
page.getByRole("button", { name: "Architecture" }),
|
||||
|
||||
Reference in New Issue
Block a user