fix: prevent multiple heavy setting inits

This commit is contained in:
Thea Schöbl
2022-11-04 10:49:12 +00:00
committed by Rainer Killinger
parent 15ccbe4c18
commit f7726378f4
7 changed files with 53 additions and 31 deletions

View File

@@ -184,7 +184,9 @@ describe('dashboard', async function () {
it('should go to search when clicking the icon', function () {
cy.visit('/overview');
cy.get('stapps-search-section').find('ion-icon[name=search]').click();
cy.get('stapps-search-section')
.find('ion-icon[name=search]')
.click({force: true});
cy.url().should('eq', Cypress.config().baseUrl + '/search?query=');
cy.get('ion-searchbar').should('not.have.value');