I am trying to click the search bar either on the sidebar <im-sidebar class="hydrated">
or top menu <nav_class = "top-menu">
.
This is the code
So I tried: cy.get('.moduleSearchbar').click()
But Cypress does not find it.
I also used the Cypress recorder, but using this plugin, it records the same code cy.get('.dx-viewport > app-root > .ng-star-inserted > .hydrated').click()
several times, regardless of where I click.
It seems the sidebar and top menu are hiding the buttons and Cypress just see the same element all over the page.
I really appreciate any suggestion.