Skip to content

Commit

Permalink
Add id to logout item
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHirt committed Jun 16, 2020
1 parent b60ed51 commit 390b751
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/components/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@
>
</li>
<li>
<router-link v-translate to="/" @click.native.prevent="logout">Log out</router-link>
<router-link
id="oc-topbar-account-logout"
v-translate
to="/"
@click.native.prevent="logout"
>Log out</router-link
>
</li>
</ul>
</oc-drop>
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/pageObjects/phoenixPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ module.exports = {
locateStrategy: 'xpath'
},
logoutMenuItem: {
selector: '#logoutMenuItem'
selector: '#oc-topbar-account-logout'
},
messageCloseIcon: {
selector: '.oc-alert-close-icon'
Expand Down

0 comments on commit 390b751

Please sign in to comment.