e2e: add tests for OAuth Source, update tests for new base templates

This commit is contained in:
Jens Langhammer
2020-07-09 00:41:14 +02:00
parent 3450b8f1fe
commit 64c47a59f8
8 changed files with 273 additions and 501 deletions

View File

@ -211,6 +211,6 @@ class TestProviderSAML(SeleniumTestCase):
self.driver.find_element(By.ID, "id_password").send_keys(Keys.ENTER)
self.wait_for_url(self.url("passbook_flows:denied"))
self.assertEqual(
self.driver.find_element(By.CSS_SELECTOR, "#flow-body > header > h1").text,
self.driver.find_element(By.CSS_SELECTOR, "header > h1").text,
"Permission denied",
)