diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index e4b19988a..3e92c93a9 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -85,7 +85,15 @@ const refresh = () => window.location.reload(); - + { const locationOptions = '[role="listbox"] > div.q-virtual-scroll__content > .q-item'; diff --git a/test/cypress/support/commands.js b/test/cypress/support/commands.js index b3586baf7..ef1726c94 100755 --- a/test/cypress/support/commands.js +++ b/test/cypress/support/commands.js @@ -323,9 +323,7 @@ Cypress.Commands.add('clickButtonDescriptor', (id) => { }); Cypress.Commands.add('openUserPanel', () => { - cy.get( - '.column > .q-avatar > .q-avatar__content > .q-img > .q-img__container > .q-img__image', - ).click(); + cy.dataCy('userPanel_btn').click(); }); Cypress.Commands.add('checkNotification', (text) => {