Skip to content

Commit

Permalink
Improve settings test resiliance
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Apr 14, 2022
1 parent de24bdf commit dda64ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/integration/settings.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('Settings', () => {
cy.wait('@ShowConf');
// cy.wait('@Strategies');

cy.get('#__BVID__24__BV_toggle_').click();
cy.get('[id=avatar-drop]').parent().click();
cy.get('.dropdown-menu > [href="/settings"]').click();
cy.contains('FreqUI Settings');

Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</li>
<li v-if="hasBots" class="nav-item">
<!-- Hide dropdown on xs, instead show below -->
<b-nav-item-dropdown right class="d-none d-sm-block">
<b-nav-item-dropdown id="avatar-drop" right class="d-none d-sm-block">
<template #button-content>
<b-avatar size="2em" button>FT</b-avatar>
</template>
Expand Down

0 comments on commit dda64ca

Please sign in to comment.