yarn test fixed

This commit is contained in:
ogerly 2022-01-27 11:18:24 +01:00
parent 05a4e23354
commit 648023e95c

View File

@ -192,8 +192,10 @@ describe('UserTable', () => {
expect(wrapper.findAll('tr:nth-child(1) > td').length).toBe(7)
})
it('click button on fifth column', () => {
wrapper.find('tbody tr td[aria-colindex="5"] button').trigger('click')
it('find button on fifth column', () => {
expect(
wrapper.findAll('tr:nth-child(1) > td').at(5).find('button').isVisible(),
).toBeTruthy()
})
})
})