Skip to content

Commit

Permalink
test(kselect): fix component tests [KHCP-11024]
Browse files Browse the repository at this point in the history
  • Loading branch information
portikM committed Aug 21, 2024
1 parent 3527068 commit 845abe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/KSelect/KSelect.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ describe('KSelect', () => {
})

cy.get('.select-input input').click()
cy.getTestId(`select-item-${vals[0]}`).eq(0).click({ force: true }).then(() => {
cy.getTestId(`select-item-${vals[0]}`).click().then(() => {
cy.wrap(Cypress.vueWrapper.emitted()).should('have.property', 'selected')
cy.wrap(Cypress.vueWrapper.emitted().selected).should('have.length', 1)

Expand Down

0 comments on commit 845abe4

Please sign in to comment.