Improve settings test resiliance

This commit is contained in:
Matthias 2022-04-14 06:46:58 +02:00
parent de24bdff99
commit dda64caac0
2 changed files with 2 additions and 2 deletions

View File

@ -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');

View File

@ -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>