Skip to content

Commit

Permalink
test(kselect): fix component tests [KHCP-13444]
Browse files Browse the repository at this point in the history
  • Loading branch information
portikM committed Oct 29, 2024
1 parent 7567fcb commit 57daf95
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 @@ -143,7 +143,7 @@ describe('KSelect', () => {
cy.getTestId(`select-item-${vals[0]}`).should('contain.text', labels[0])
cy.getTestId(`select-item-${vals[1]}`).should('not.exist')

cy.getTestId(`select-item-${vals[0]}`).eq(0).click({ force: true })
cy.getTestId(`select-item-${vals[0]}`).click()
cy.getTestId('select-input').should('have.value', labels[0])
})

Expand Down

0 comments on commit 57daf95

Please sign in to comment.