diff --git a/frontend/src/components/Contributions/ContributionForm.spec.js b/frontend/src/components/Contributions/ContributionForm.spec.js index c0635ed52..4d39e2942 100644 --- a/frontend/src/components/Contributions/ContributionForm.spec.js +++ b/frontend/src/components/Contributions/ContributionForm.spec.js @@ -25,5 +25,9 @@ describe('ContributionForm', () => { it('has a DIV .contribution-form', () => { expect(wrapper.find('div.contribution-form').exists()).toBe(true) }) + + it('is submit button disable of true', () => { + expect(wrapper.find('button[type="submit"]').attributes('disabled')).toBe('disabled') + }) }) }) diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue index 67db69f5b..2e67aa7e8 100644 --- a/frontend/src/components/Contributions/ContributionForm.vue +++ b/frontend/src/components/Contributions/ContributionForm.vue @@ -15,6 +15,7 @@ - +
- + {{ $t('contribution.submit') }} + {{ form }}