tests/e2e: fix header name

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-24 09:18:22 +01:00
parent 758d1bdfd4
commit b69aaf9417
1 changed files with 2 additions and 1 deletions

View File

@ -95,13 +95,14 @@ class TestProviderProxy(SeleniumTestCase):
break
healthcheck_retries += 1
sleep(0.5)
sleep(5)
self.driver.get("http://localhost:9000")
self.login()
sleep(1)
full_body_text = self.driver.find_element(By.CSS_SELECTOR, "pre").text
self.assertIn(f"X-authentik-username: {self.user.username}", full_body_text)
self.assertIn(f"X-Authentik-Username: {self.user.username}", full_body_text)
self.assertIn("X-Foo: bar", full_body_text)
self.driver.get("http://localhost:9000/akprox/sign_out")