mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix test
This commit is contained in:
parent
60b6b82279
commit
e074c99773
@ -20,7 +20,7 @@ describe('ContributionLink', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('renders the Div Element ".contribution-link"', () => {
|
it('renders the Div Element ".contribution-link"', () => {
|
||||||
expect(wrapper.find('div.contribution-link').exists()).toBeTruthy()
|
expect(wrapper.find('div.contribution-link').exists()).toBe(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('emits toggle::collapse new Contribution', async () => {
|
it('emits toggle::collapse new Contribution', async () => {
|
||||||
|
|||||||
@ -49,10 +49,10 @@ describe('ContributionLinkForm', () => {
|
|||||||
amount: null,
|
amount: null,
|
||||||
cycle: 'ONCE',
|
cycle: 'ONCE',
|
||||||
validTo: null,
|
validTo: null,
|
||||||
maxAmountPerMonth: null,
|
maxAmountPerMonth: 0,
|
||||||
memo: null,
|
memo: null,
|
||||||
name: null,
|
name: null,
|
||||||
maxPerCycle: null,
|
maxPerCycle: '1',
|
||||||
validFrom: null,
|
validFrom: null,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
@ -44,7 +44,7 @@ describe('ContributionLinkList', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('renders the Div Element ".contribution-link-list"', () => {
|
it('renders the Div Element ".contribution-link-list"', () => {
|
||||||
expect(wrapper.find('div.contribution-link-list').exists()).toBeTruthy()
|
expect(wrapper.find('div.contribution-link-list').exists()).toBe(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('edit contribution link', () => {
|
describe('edit contribution link', () => {
|
||||||
|
|||||||
@ -102,7 +102,7 @@ describe('OpenCreationsTable', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('has a DIV element with the class .open-creations-table', () => {
|
it('has a DIV element with the class .open-creations-table', () => {
|
||||||
expect(wrapper.find('div.open-creations-table').exists()).toBeTruthy()
|
expect(wrapper.find('div.open-creations-table').exists()).toBe(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('has a table with three rows', () => {
|
it('has a table with three rows', () => {
|
||||||
@ -110,7 +110,7 @@ describe('OpenCreationsTable', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('find first button.bi-pencil-square for open EditCreationFormular ', () => {
|
it('find first button.bi-pencil-square for open EditCreationFormular ', () => {
|
||||||
expect(wrapper.findAll('tr').at(1).find('.bi-pencil-square').exists()).toBeTruthy()
|
expect(wrapper.findAll('tr').at(1).find('.bi-pencil-square').exists()).toBe(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('show edit details', () => {
|
describe('show edit details', () => {
|
||||||
@ -123,7 +123,7 @@ describe('OpenCreationsTable', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it.skip('renders the component component-edit-creation-formular', () => {
|
it.skip('renders the component component-edit-creation-formular', () => {
|
||||||
expect(wrapper.find('div.component-edit-creation-formular').exists()).toBeTruthy()
|
expect(wrapper.find('div.component-edit-creation-formular').exists()).toBe(true)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user