diff --git a/tests/e2e_tests/test_end_to_end.py b/tests/e2e_tests/test_end_to_end.py index 7dcabfa25..7d1cfbee4 100644 --- a/tests/e2e_tests/test_end_to_end.py +++ b/tests/e2e_tests/test_end_to_end.py @@ -71,7 +71,7 @@ def test_insert_new_alert(browser): """ try: browser.goto( - "http://localhost:3000/signin?callbackUrl=http%3A%2F%2Flocalhost%3A3000%2Fproviders" + "http://localhost:3000/signin?callbackUrl=http%3A%2F%2Flocalhost%3A3000%incidents" ) browser.wait_for_url("http://localhost:3000/incidents") @@ -117,7 +117,7 @@ def test_providers_page_is_accessible(browser): browser.goto( "http://localhost:3000/signin?callbackUrl=http%3A%2F%2Flocalhost%3A3000%2Fproviders" ) - browser.goto("http://localhost:3000/providers") + browser.wait_for_url("http://localhost:3000/providers") # get the GCP Monitoring provider browser.locator("button:has-text('GCP Monitoring'):has-text('alert')").click() browser.get_by_role("button", name="Cancel").click()