adapt contribution form unit tests to changes

This commit is contained in:
mahula 2022-10-13 13:34:51 +02:00
parent bb65a1b11b
commit 43a9ec2a4c

View File

@ -329,7 +329,8 @@ describe('ContributionForm', () => {
describe('invalid form data', () => {
beforeEach(async () => {
await wrapper.findComponent({ name: 'BFormDatepicker' }).vm.$emit('input', now)
// skip this precondition as long as the datepicker is disabled in the component
// await wrapper.findComponent({ name: 'BFormDatepicker' }).vm.$emit('input', now)
await wrapper.find('#contribution-amount').find('input').setValue('200')
})