From 43a9ec2a4c6f0bb0c5717e80334fb7424a8aee3b Mon Sep 17 00:00:00 2001 From: mahula Date: Thu, 13 Oct 2022 13:34:51 +0200 Subject: [PATCH] adapt contribution form unit tests to changes --- frontend/src/components/Contributions/ContributionForm.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Contributions/ContributionForm.spec.js b/frontend/src/components/Contributions/ContributionForm.spec.js index cf47577a3..8f35948f9 100644 --- a/frontend/src/components/Contributions/ContributionForm.spec.js +++ b/frontend/src/components/Contributions/ContributionForm.spec.js @@ -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') })