diff options
Diffstat (limited to 'spec/frontend/jira_connect/components/groups_list_spec.js')
-rw-r--r-- | spec/frontend/jira_connect/components/groups_list_spec.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/frontend/jira_connect/components/groups_list_spec.js b/spec/frontend/jira_connect/components/groups_list_spec.js index 4b875928a90..d583fb68771 100644 --- a/spec/frontend/jira_connect/components/groups_list_spec.js +++ b/spec/frontend/jira_connect/components/groups_list_spec.js @@ -160,9 +160,13 @@ describe('GroupsList', () => { expect(findGroupsList().classes()).toContain('gl-opacity-5'); }); - it('sets loading prop of ths search box', () => { + it('sets loading prop of the search box', () => { expect(findSearchBox().props('isLoading')).toBe(true); }); + + it('sets value prop of the search box to the search term', () => { + expect(findSearchBox().props('value')).toBe(mockSearchTeam); + }); }); describe('when group search finishes loading', () => { |