Skip to content

Commit

Permalink
Minor login -> Log in tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Sep 7, 2023
1 parent 263fac2 commit 3c07df1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/components/History/Modals/CopyModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<b-modal v-bind="$attrs" :title="title" title-tag="h2" v-on="$listeners">
<transition name="fade">
<b-alert v-localize :show="isAnonymous" variant="warning">
As an anonymous user, unless you login or register, you will lose your current history after copying
As an anonymous user, unless you log in or register, you will lose your current history after copying
this history. You can <a href="/user/login">log in here</a> or <a href="/user/create">register here</a>.
</b-alert>
</transition>
Expand Down
6 changes: 2 additions & 4 deletions lib/galaxy/selenium/navigates_galaxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,9 +718,7 @@ def wait_for_logged_in(self):
except SeleniumTimeoutException as e:
ui_logged_out = self.components.masthead.logged_out_only.is_displayed
if ui_logged_out:
dom_message = (
"Element a.loggedout-only is present in DOM, indicating Log in or Register button still in masthead."
)
dom_message = "Element a.loggedout-only is present in DOM, indicating Log in or Register button still in masthead."
else:
dom_message = "Element a.loggedout-only is *not* present in DOM."
user_info = self.api_get("users/current")
Expand Down Expand Up @@ -1917,7 +1915,7 @@ def logout(self):
try:
self.components.masthead.logged_out_only.wait_for_visible()
except SeleniumTimeoutException as e:
message = "Clicked logout button but waiting for 'Login or Registration' button failed, perhaps the logout button was clicked before the handler was setup?"
message = "Clicked logout button but waiting for 'Log in or Registration' button failed, perhaps the logout button was clicked before the handler was setup?"
raise self.prepend_timeout_message(e, message)
assert (
not self.is_logged_in()
Expand Down

0 comments on commit 3c07df1

Please sign in to comment.