mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix webapp tests
This commit is contained in:
parent
0d44d8ae04
commit
211a4b9130
@ -238,7 +238,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has group slug', () => {
|
||||
expect(wrapper.text()).toContain('@yoga-practice')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(true)
|
||||
expect(wrapper.text()).toContain('yoga-practice')
|
||||
})
|
||||
|
||||
describe('displays no(!) group location – because is "null"', () => {
|
||||
@ -385,7 +386,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has group slug', () => {
|
||||
expect(wrapper.text()).toContain('@yoga-practice')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(true)
|
||||
expect(wrapper.text()).toContain('yoga-practice')
|
||||
})
|
||||
|
||||
describe('displays no(!) group location – because is "null"', () => {
|
||||
@ -492,7 +494,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has group slug', () => {
|
||||
expect(wrapper.text()).toContain('@yoga-practice')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(true)
|
||||
expect(wrapper.text()).toContain('yoga-practice')
|
||||
})
|
||||
|
||||
describe('displays no(!) group location – because is "null"', () => {
|
||||
@ -599,7 +602,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has group slug', () => {
|
||||
expect(wrapper.text()).toContain('@yoga-practice')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(true)
|
||||
expect(wrapper.text()).toContain('yoga-practice')
|
||||
})
|
||||
|
||||
describe('displays no(!) group location – because is "null"', () => {
|
||||
@ -710,7 +714,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has group slug', () => {
|
||||
expect(wrapper.text()).toContain('@school-for-citizens')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(true)
|
||||
expect(wrapper.text()).toContain('school-for-citizens')
|
||||
})
|
||||
|
||||
describe('displays group location', () => {
|
||||
@ -821,7 +826,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has group slug', () => {
|
||||
expect(wrapper.text()).toContain('@school-for-citizens')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(true)
|
||||
expect(wrapper.text()).toContain('school-for-citizens')
|
||||
})
|
||||
|
||||
describe('displays group location', () => {
|
||||
@ -932,7 +938,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has group slug', () => {
|
||||
expect(wrapper.text()).toContain('@school-for-citizens')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(true)
|
||||
expect(wrapper.text()).toContain('school-for-citizens')
|
||||
})
|
||||
|
||||
describe('displays group location', () => {
|
||||
@ -1043,7 +1050,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has group slug', () => {
|
||||
expect(wrapper.text()).toContain('@school-for-citizens')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(true)
|
||||
expect(wrapper.text()).toContain('school-for-citizens')
|
||||
})
|
||||
|
||||
describe('displays group location', () => {
|
||||
@ -1158,7 +1166,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has group slug', () => {
|
||||
expect(wrapper.text()).toContain('@investigative-journalism')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(true)
|
||||
expect(wrapper.text()).toContain('investigative-journalism')
|
||||
})
|
||||
|
||||
describe('displays group location', () => {
|
||||
@ -1272,7 +1281,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has group slug', () => {
|
||||
expect(wrapper.text()).toContain('@investigative-journalism')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(true)
|
||||
expect(wrapper.text()).toContain('investigative-journalism')
|
||||
})
|
||||
|
||||
describe('displays group location', () => {
|
||||
@ -1386,7 +1396,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has no(!) group slug', () => {
|
||||
expect(wrapper.text()).not.toContain('@investigative-journalism')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(false)
|
||||
expect(wrapper.text()).not.toContain('investigative-journalism')
|
||||
})
|
||||
|
||||
describe('displays not(!) group location', () => {
|
||||
@ -1488,7 +1499,8 @@ describe('GroupProfileSlug', () => {
|
||||
})
|
||||
|
||||
it('has no(!) group slug', () => {
|
||||
expect(wrapper.text()).not.toContain('@investigative-journalism')
|
||||
expect(wrapper.find('[data-test="at"]').exists()).toBe(false)
|
||||
expect(wrapper.text()).not.toContain('investigative-journalism')
|
||||
})
|
||||
|
||||
describe('displays not(!) group location', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user