From b69aaf941787bec5df99611ddbfa7a4abf0b9d69 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 24 Nov 2021 09:18:22 +0100 Subject: [PATCH] tests/e2e: fix header name Signed-off-by: Jens Langhammer --- tests/e2e/test_provider_proxy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e/test_provider_proxy.py b/tests/e2e/test_provider_proxy.py index d5b67db2c..3d9806acc 100644 --- a/tests/e2e/test_provider_proxy.py +++ b/tests/e2e/test_provider_proxy.py @@ -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")