mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
check visible html instead of internal status
This commit is contained in:
parent
4016e316b2
commit
49f74ae3ab
@ -97,8 +97,8 @@ describe('RegisterSelectCommunity', () => {
|
||||
expect(apolloQueryMock).toBeCalled()
|
||||
})
|
||||
|
||||
it('has two communities', () => {
|
||||
expect(wrapper.vm.communities).toHaveLength(2)
|
||||
it('shows two other communities', () => {
|
||||
expect(wrapper.findAll('div.bg-secondary')).toHaveLength(2)
|
||||
})
|
||||
|
||||
it('hides the spinner', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user