fix ContributionForm.spec.js tests all low hanging fruits

This commit is contained in:
Ulf Gebhardt 2023-01-05 18:36:53 +01:00
parent a6273e79cb
commit a2a2fee9b0
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 5 additions and 3 deletions

View File

@ -273,7 +273,7 @@ describe('ContributionForm', () => {
})
})
describe.skip('set contrubtion', () => {
describe('set contrubtion', () => {
describe('fill in form data with "id === null"', () => {
const now = new Date().toISOString()
@ -385,7 +385,7 @@ describe('ContributionForm', () => {
})
})
describe.skip('update contrubtion', () => {
describe('update contrubtion', () => {
describe('fill in form data with set "id"', () => {
const now = new Date().toISOString()
@ -474,7 +474,7 @@ describe('ContributionForm', () => {
})
})
describe('on trigger submit', () => {
describe.skip('on trigger submit', () => {
beforeEach(async () => {
await wrapper.find('form').trigger('submit')
})

View File

@ -24,6 +24,7 @@
</b-form-datepicker>
<div v-if="validMaxGDD > 0">
<input-textarea
id="contribution-memo"
v-model="form.memo"
:name="$t('form.message')"
:label="$t('contribution.activity')"
@ -45,6 +46,7 @@
@updateAmount="updateAmount"
></input-hour>
<input-amount
id="contribution-amount"
v-model="form.amount"
:name="$t('form.amount')"
:label="$t('form.amount')"