mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 23:27:54 -05:00
fixed join flow test
This commit is contained in:
parent
34c88cfcce
commit
1803641ae8
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ describe('JoinFlowStep', () => {
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
expect(component.find('div.join-flow-header-image').exists()).toEqual(true);
|
expect(component.find('img.join-flow-header-image').exists()).toEqual(true);
|
||||||
expect(component.find({src: props.headerImgSrc}).exists()).toEqual(true);
|
expect(component.find({src: props.headerImgSrc}).exists()).toEqual(true);
|
||||||
expect(component.find('.join-flow-inner-content').exists()).toEqual(true);
|
expect(component.find('.join-flow-inner-content').exists()).toEqual(true);
|
||||||
expect(component.find('.join-flow-title').exists()).toEqual(true);
|
expect(component.find('.join-flow-title').exists()).toEqual(true);
|
||||||
|
@ -39,7 +39,7 @@ describe('JoinFlowStep', () => {
|
||||||
<JoinFlowStep />
|
<JoinFlowStep />
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(component.find('div.join-flow-header-image').exists()).toEqual(false);
|
expect(component.find('img.join-flow-header-image').exists()).toEqual(false);
|
||||||
expect(component.find('.join-flow-inner-content').exists()).toEqual(true);
|
expect(component.find('.join-flow-inner-content').exists()).toEqual(true);
|
||||||
expect(component.find('.join-flow-title').exists()).toEqual(false);
|
expect(component.find('.join-flow-title').exists()).toEqual(false);
|
||||||
expect(component.find('div.join-flow-description').exists()).toEqual(false);
|
expect(component.find('div.join-flow-description').exists()).toEqual(false);
|
||||||
|
|
Loading…
Reference in a new issue