From a978684d70b59a077b714792603bcefd1939b41a Mon Sep 17 00:00:00 2001 From: Lendemor Date: Fri, 24 Jan 2025 16:51:16 +0100 Subject: [PATCH] fix integration test --- tests/integration/tests_playwright/test_link_hover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/tests_playwright/test_link_hover.py b/tests/integration/tests_playwright/test_link_hover.py index 9510bd358..6c841114a 100644 --- a/tests/integration/tests_playwright/test_link_hover.py +++ b/tests/integration/tests_playwright/test_link_hover.py @@ -39,7 +39,7 @@ def test_link_hover(link_app: AppHarness, page: Page): assert link_app.frontend_url is not None page.goto(link_app.frontend_url) - link = page.get_by_role("link") + link = page.get_by_role("link").nth(1) expect(link).to_have_text("Click me") expect(link).to_have_css("color", "rgb(0, 0, 255)") link.hover()