Skip to content

Commit 4c9ed6c

Browse files
committed
fix: tests
1 parent a9ae3dc commit 4c9ed6c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/e2e_tests/test_pushing_prometheus_alerts.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ def test_pulling_prometheus_alerts_to_provider(browser):
3434
browser.get_by_placeholder("Filter providers...").click()
3535
browser.get_by_placeholder("Filter providers...").fill("prometheus")
3636
browser.get_by_placeholder("Filter providers...").press("Enter")
37-
browser.get_by_text("Connect Provider").hover()
38-
prometheus_tile = browser.locator("button:has-text('prometheus'):has-text('alert'):has-text('data')")
37+
browser.get_by_text("Available Providers").hover()
38+
prometheus_tile = browser.locator(
39+
"button:has-text('prometheus'):has-text('alert'):has-text('data')"
40+
)
3941
prometheus_tile.first.hover()
4042
prometheus_tile.first.click()
4143
browser.get_by_placeholder("Enter provider name").click()

0 commit comments

Comments
 (0)