diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-20 09:10:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-20 09:10:41 +0300 |
commit | 83cddbd52370f2845a9083d7e82cd5539703611b (patch) | |
tree | c810a8b40267553381598550ca17294b17c4c405 /spec/features/admin | |
parent | 0624f8b515fe2e40268f397cf698e3277c5d3877 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/admin')
-rw-r--r-- | spec/features/admin/admin_runners_spec.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/features/admin/admin_runners_spec.rb b/spec/features/admin/admin_runners_spec.rb index 7fb2202ca1d..af6ba318ac6 100644 --- a/spec/features/admin/admin_runners_spec.rb +++ b/spec/features/admin/admin_runners_spec.rb @@ -117,8 +117,8 @@ RSpec.describe "Admin Runners", feature_category: :runner_fleet do describe 'search' do before_all do - create(:ci_runner, :instance, description: 'runner-foo') - create(:ci_runner, :instance, description: 'runner-bar') + create(:ci_runner, :instance, description: 'runner foo') + create(:ci_runner, :instance, description: 'runner bar') end before do @@ -133,23 +133,23 @@ RSpec.describe "Admin Runners", feature_category: :runner_fleet do end it 'shows runners' do - expect(page).to have_content("runner-foo") - expect(page).to have_content("runner-bar") + expect(page).to have_content("runner foo") + expect(page).to have_content("runner bar") end it 'shows correct runner when description matches' do - input_filtered_search_keys('runner-foo') + input_filtered_search_keys('runner foo') expect(page).to have_link('All 1') expect(page).to have_link('Instance 1') - expect(page).to have_content("runner-foo") - expect(page).not_to have_content("runner-bar") + expect(page).to have_content("runner foo") + expect(page).not_to have_content("runner bar") end context 'when description does not match' do before do - input_filtered_search_keys('runner-baz') + input_filtered_search_keys('runner baz') end it_behaves_like 'shows no runners found' |