Skip to content

Commit

Permalink
test: Migrate search-place test
Browse files Browse the repository at this point in the history
- remove old test
  • Loading branch information
TheGreatRefrigerator committed Dec 7, 2022
1 parent db26803 commit 15760d6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 27 deletions.
11 changes: 11 additions & 0 deletions cypress/e2e/search-place.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
describe('search place', () => {
it('renders correctly', () => {
cy.visit('/#/search/heidelberg/@50.92381327191293,9.052734375000002/z/6')

cy.get('.place-input-component input[type=text]')
cy.get('.places-nav')
cy.get('.custom-html-icon-div').should('have.length.gt', 20)
cy.get('.vhl-item').should('have.length.gt', 20)
cy.get('.place-input-component input[type=text]').should('have.value', 'heidelberg')
})
})
27 changes: 0 additions & 27 deletions tests/e2e/specs/search-place.spec.js

This file was deleted.

0 comments on commit 15760d6

Please sign in to comment.