diff options
Diffstat (limited to 'spec/frontend/runner/components/runner_filtered_search_bar_spec.js')
-rw-r--r-- | spec/frontend/runner/components/runner_filtered_search_bar_spec.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/frontend/runner/components/runner_filtered_search_bar_spec.js b/spec/frontend/runner/components/runner_filtered_search_bar_spec.js index 9ea0955f2a1..5ab0db019a3 100644 --- a/spec/frontend/runner/components/runner_filtered_search_bar_spec.js +++ b/spec/frontend/runner/components/runner_filtered_search_bar_spec.js @@ -15,7 +15,6 @@ describe('RunnerList', () => { const findFilteredSearch = () => wrapper.findComponent(FilteredSearch); const findGlFilteredSearch = () => wrapper.findComponent(GlFilteredSearch); const findSortOptions = () => wrapper.findAllComponents(GlDropdownItem); - const findActiveRunnersMessage = () => wrapper.findByTestId('runner-count'); const mockDefaultSort = 'CREATED_DESC'; const mockOtherSort = 'CONTACTED_DESC'; @@ -23,7 +22,6 @@ describe('RunnerList', () => { { type: PARAM_KEY_STATUS, value: { data: STATUS_ACTIVE, operator: '=' } }, { type: 'filtered-search-term', value: { data: '' } }, ]; - const mockActiveRunnersCount = 2; const expectToHaveLastEmittedInput = (value) => { const inputs = wrapper.emitted('input'); @@ -43,9 +41,6 @@ describe('RunnerList', () => { }, ...props, }, - slots: { - 'runner-count': `Runners currently online: ${mockActiveRunnersCount}`, - }, stubs: { FilteredSearch, GlFilteredSearch, @@ -69,12 +64,6 @@ describe('RunnerList', () => { expect(findFilteredSearch().props('namespace')).toBe('runners'); }); - it('Displays an active runner count', () => { - expect(findActiveRunnersMessage().text()).toBe( - `Runners currently online: ${mockActiveRunnersCount}`, - ); - }); - it('sets sorting options', () => { const SORT_OPTIONS_COUNT = 2; |