From f3b4e55af5ad0dc4e50adc2ba481b004c6f1102f Mon Sep 17 00:00:00 2001 From: Jens L Date: Mon, 8 May 2023 23:40:12 +0200 Subject: [PATCH] tests: fix e2e tests (#5540) Signed-off-by: Jens Langhammer --- tests/e2e/test_provider_proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/test_provider_proxy.py b/tests/e2e/test_provider_proxy.py index 684a476119..a134dbc2d5 100644 --- a/tests/e2e/test_provider_proxy.py +++ b/tests/e2e/test_provider_proxy.py @@ -117,7 +117,7 @@ class TestProviderProxy(SeleniumTestCase): self.driver.get("http://localhost:9000/outpost.goauthentik.io/sign_out") sleep(2) full_body_text = self.driver.find_element(By.CSS_SELECTOR, ".pf-c-title.pf-m-3xl").text - self.assertIn("You've logged out of proxy.", full_body_text) + self.assertIn("You've logged out of", full_body_text) @retry() @apply_blueprint( @@ -188,7 +188,7 @@ class TestProviderProxy(SeleniumTestCase): self.driver.get("http://localhost:9000/outpost.goauthentik.io/sign_out") sleep(2) full_body_text = self.driver.find_element(By.CSS_SELECTOR, ".pf-c-title.pf-m-3xl").text - self.assertIn("You've logged out of proxy.", full_body_text) + self.assertIn("You've logged out of", full_body_text) @skipUnless(platform.startswith("linux"), "requires local docker")