diff --git a/cypress/integration/UserProfile.NameDescriptionLocation/I_can_see_my_new_name_{string}_when_I_click_on_my_profile_picture_in_the_top_right.js b/cypress/integration/UserProfile.NameDescriptionLocation/I_can_see_my_new_name_{string}_when_I_click_on_my_profile_picture_in_the_top_right.js index b9e97a3041..ca6b4798bb 100644 --- a/cypress/integration/UserProfile.NameDescriptionLocation/I_can_see_my_new_name_{string}_when_I_click_on_my_profile_picture_in_the_top_right.js +++ b/cypress/integration/UserProfile.NameDescriptionLocation/I_can_see_my_new_name_{string}_when_I_click_on_my_profile_picture_in_the_top_right.js @@ -1,7 +1,13 @@ import { Then } from "cypress-cucumber-preprocessor/steps"; Then('I can see my new name {string} when I click on my profile picture in the top right', name => { + cy.get(".avatar-menu").then(($menu) => { + if (!$menu.is(':visible')){ + cy.scrollTo("top"); + cy.wait(500); + } + }) cy.get('.avatar-menu').click() // open cy.get('.avatar-menu-popover').contains(name) cy.get('.avatar-menu').click() // close again -}) \ No newline at end of file +}) diff --git a/cypress/integration/common/I_log_out.js b/cypress/integration/common/I_log_out.js index 51605f17e1..60185bc45b 100644 --- a/cypress/integration/common/I_log_out.js +++ b/cypress/integration/common/I_log_out.js @@ -1,9 +1,15 @@ import { When } from "cypress-cucumber-preprocessor/steps"; When("I log out", () => { + cy.get(".avatar-menu").then(($menu) => { + if (!$menu.is(':visible')){ + cy.scrollTo("top"); + cy.wait(500); + } + }) cy.get(".avatar-menu") .click(); cy.get(".avatar-menu-popover") .find('a[href="/logout"]') .click(); -}); \ No newline at end of file +}); diff --git a/webapp/assets/_new/icons/svgs/angle-up.svg b/webapp/assets/_new/icons/svgs/angle-up.svg new file mode 100644 index 0000000000..af58a3f27c --- /dev/null +++ b/webapp/assets/_new/icons/svgs/angle-up.svg @@ -0,0 +1,5 @@ + + +angle-up + + diff --git a/webapp/components/FilterMenu/FilterMenu.vue b/webapp/components/FilterMenu/FilterMenu.vue index 28cda66699..2d4d836d54 100644 --- a/webapp/components/FilterMenu/FilterMenu.vue +++ b/webapp/components/FilterMenu/FilterMenu.vue @@ -11,15 +11,7 @@ @@ -27,21 +19,12 @@ - - diff --git a/webapp/components/FilterMenu/FilterMenuComponent.vue b/webapp/components/FilterMenu/FilterMenuComponent.vue new file mode 100644 index 0000000000..3f22aaed87 --- /dev/null +++ b/webapp/components/FilterMenu/FilterMenuComponent.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/webapp/components/HeaderMenu/HeaderMenu.vue b/webapp/components/HeaderMenu/HeaderMenu.vue index fcec158504..f1883b0cc2 100644 --- a/webapp/components/HeaderMenu/HeaderMenu.vue +++ b/webapp/components/HeaderMenu/HeaderMenu.vue @@ -1,5 +1,9 @@