Skip to content

Commit

Permalink
fix(place-input.spec.js): make place-input test compatible with last …
Browse files Browse the repository at this point in the history
…component fix
  • Loading branch information
amoncaldas committed Jan 19, 2022
1 parent e0dbe76 commit f1cd7fb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/integration/specs/place-input.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,8 @@ describe('Place-input', () => {
rawCoordinates = wrapper.findAll('.place-suggestion').wrappers[0].find('.raw-coord .v-list__tile__title button strong')
expect(rawCoordinates.element.innerText).toBe('-12.489208068615273,-37.97321319580079')
expect(wrapper.emitted().autocompleted).toBeTruthy()

let switchCoords = wrapper.find('.switch-coords')
await switchCoords.trigger('click')
await new Promise(resolve => setTimeout(resolve, 2000))
let suggestions = wrapper.findAll('.place-suggestion')
expect(suggestions.length).toBe(2)
expect(suggestions.length).toBe(2)
done()
})

Expand Down

0 comments on commit f1cd7fb

Please sign in to comment.