Skip to content

Commit

Permalink
PB-1189: add layer feature search test
Browse files Browse the repository at this point in the history
  • Loading branch information
sommerfe committed Nov 27, 2024
1 parent 0e9fc33 commit 5c39892
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/cypress/tests-e2e/search/search-results.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,11 @@ describe('Test the search bar result handling', () => {
cy.get(searchbarSelector).click()
cy.get('@locationSearchResults').should('not.be.visible')

cy.log('Testing layer feature search')
cy.get(searchbarSelector).click()
cy.get('[data-cy="search-results-featuresearch"] [data-cy="search-result-entry"]').click()
cy.url().should('contain', 'center=2566639.39,1205531.89')

cy.log('Checking that the swisssearch url param is not present after reloading the page')
cy.reload()
cy.waitMapIsReady()
Expand Down

0 comments on commit 5c39892

Please sign in to comment.