mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
use data test for button selectors
This commit is contained in:
parent
58b5a0afc6
commit
b898ca62d3
@ -89,7 +89,7 @@ describe('ContributionMessagesFormular', () => {
|
||||
text: 'text form message',
|
||||
},
|
||||
})
|
||||
await wrapper.findAll('button').at(2).trigger('click')
|
||||
await wrapper.find('button[data-test="submit-dialog"]').trigger('click')
|
||||
})
|
||||
|
||||
it('moderatorMesage has `DIALOG`', () => {
|
||||
@ -115,7 +115,7 @@ describe('ContributionMessagesFormular', () => {
|
||||
text: 'text form message',
|
||||
},
|
||||
})
|
||||
await wrapper.findAll('button').at(1).trigger('click')
|
||||
await wrapper.find('button[data-test="submit-moderator"]').trigger('click')
|
||||
})
|
||||
|
||||
it('moderatorMesage has `MODERATOR`', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user