diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-08 18:08:17 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-08 18:08:17 +0300 |
commit | 1ec1bec4ee7ef7cb2e6faa7af625950f6d7aa290 (patch) | |
tree | 515047b93cfb054156b99c612684eb9a4c45330d /spec/features | |
parent | 2f5c5b1081fe544ecb9a71d8adf88e00f01f3732 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/labels_hierarchy_spec.rb | 1 | ||||
-rw-r--r-- | spec/features/projects/badges/list_spec.rb | 8 | ||||
-rw-r--r-- | spec/features/runners_spec.rb | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/spec/features/labels_hierarchy_spec.rb b/spec/features/labels_hierarchy_spec.rb index eed9a6d1043..5d141580874 100644 --- a/spec/features/labels_hierarchy_spec.rb +++ b/spec/features/labels_hierarchy_spec.rb @@ -17,6 +17,7 @@ RSpec.describe 'Labels Hierarchy', :js do let!(:project_label_1) { create(:label, project: project_1, title: 'Label_4') } before do + stub_feature_flags(graphql_board_lists: false) grandparent.add_owner(user) sign_in(user) diff --git a/spec/features/projects/badges/list_spec.rb b/spec/features/projects/badges/list_spec.rb index 3382bdcd65f..d1e635f11c0 100644 --- a/spec/features/projects/badges/list_spec.rb +++ b/spec/features/projects/badges/list_spec.rb @@ -17,10 +17,10 @@ RSpec.describe 'list of badges' do expect(page).to have_content 'Markdown' expect(page).to have_content 'HTML' expect(page).to have_content 'AsciiDoc' - expect(page).to have_css('.highlight', count: 3) + expect(page).to have_css('.js-syntax-highlight', count: 3) expect(page).to have_xpath("//img[@alt='pipeline status']") - page.within('.highlight', match: :first) do + page.within('.js-syntax-highlight', match: :first) do expect(page).to have_content 'badges/master/pipeline.svg' end end @@ -32,10 +32,10 @@ RSpec.describe 'list of badges' do expect(page).to have_content 'Markdown' expect(page).to have_content 'HTML' expect(page).to have_content 'AsciiDoc' - expect(page).to have_css('.highlight', count: 3) + expect(page).to have_css('.js-syntax-highlight', count: 3) expect(page).to have_xpath("//img[@alt='coverage report']") - page.within('.highlight', match: :first) do + page.within('.js-syntax-highlight', match: :first) do expect(page).to have_content 'badges/master/coverage.svg' end end diff --git a/spec/features/runners_spec.rb b/spec/features/runners_spec.rb index 0dff4c28270..6e18de3be7b 100644 --- a/spec/features/runners_spec.rb +++ b/spec/features/runners_spec.rb @@ -173,9 +173,9 @@ RSpec.describe 'Runners' do it 'user enables shared runners' do visit project_runners_path(project) - click_on 'Enable shared Runners' + click_on 'Enable shared runners' - expect(page.find('.shared-runners-description')).to have_content('Disable shared Runners') + expect(page.find('.shared-runners-description')).to have_content('Disable shared runners') end end |