e2e: further cleanup tests, directly navigate to user-settings instead of click

This commit is contained in:
Jens Langhammer
2020-09-29 00:27:58 +02:00
parent e54b98a80e
commit 5da4ff4ff1
6 changed files with 14 additions and 26 deletions

View File

@ -149,13 +149,7 @@ class TestProviderOAuth2Github(SeleniumTestCase):
"GitHub Compatibility: Access you Email addresses",
self.driver.find_element(By.ID, "scope-user:email").text,
)
self.driver.find_element(
By.CSS_SELECTOR,
(
"form[action='/flows/b/default-provider-authorization-explicit-consent/'] "
"[type=submit]"
),
).click()
self.driver.find_element(By.CSS_SELECTOR, ("[type=submit]"),).click()
self.wait_for_url("http://localhost:3000/?orgId=1")
self.driver.get("http://localhost:3000/profile")