rename references to user_email to username

This commit is contained in:
Helena Rasche
2021-10-06 18:00:52 +02:00
parent 602a9d84c2
commit e6fb5c85ad
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -576,7 +576,7 @@ class NavigatesGalaxy(HasDriver):
# Make sure the user menu was dropped down
user_menu = self.components.masthead.user_menu.wait_for_visible()
try:
username_element = self.components.masthead.user_email.wait_for_visible()
username_element = self.components.masthead.username.wait_for_visible()
except self.TimeoutException as e:
menu_items = user_menu.find_elements_by_css_selector("li a")
menu_text = [mi.text for mi in menu_items]
+1 -1
View File
@@ -39,7 +39,7 @@ masthead:
user_menu: '#user .dropdown-menu a'
workflow: '#workflow .nav-link'
user_email:
username:
type: xpath
selector: '//a[contains(text(), "Logged in as")]'
@@ -26,7 +26,7 @@ class RegistrationTestCase(SeleniumTestCase):
self.logout_if_needed()
assert not self.is_logged_in()
self.home()
self.components.masthead.user_email.assert_absent_or_hidden()
self.components.masthead.username.assert_absent_or_hidden()
@selenium_test
def test_reregister_email_fails(self):