tests: fix e2e tests (#5540)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-05-08 23:40:12 +02:00 committed by GitHub
parent 9c25d72d61
commit f3b4e55af5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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")