diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-10 12:18:48 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-10 12:18:48 +0000 |
commit | 190128fc72e015c383e7a96c128276d1833f3beb (patch) | |
tree | c9defcce34e8e0661c3a2cebe78847e9d9f14a39 /spec/features/projects/tree/tree_show_spec.rb | |
parent | de74d20b2596c8d27987744d24a7fc09fbe8ff37 (diff) | |
download | gitlab-ce-190128fc72e015c383e7a96c128276d1833f3beb.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/tree/tree_show_spec.rb')
-rw-r--r-- | spec/features/projects/tree/tree_show_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/projects/tree/tree_show_spec.rb b/spec/features/projects/tree/tree_show_spec.rb index f8bbaa9535b..cd94e6da018 100644 --- a/spec/features/projects/tree/tree_show_spec.rb +++ b/spec/features/projects/tree/tree_show_spec.rb @@ -25,7 +25,7 @@ RSpec.describe 'Projects tree', :js do expect(page).to have_selector('.tree-item') expect(page).to have_content('add tests for .gitattributes custom highlighting') - expect(page).not_to have_selector('.flash-alert') + expect(page).not_to have_selector('[data-testid="alert-danger"]') expect(page).not_to have_selector('[data-qa-selector="label-lfs"]', text: 'LFS') # rubocop:disable QA/SelectorUsage end @@ -36,7 +36,7 @@ RSpec.describe 'Projects tree', :js do expect(page).to have_selector('.tree-item') expect(page).to have_content('add spaces in whitespace file') expect(page).not_to have_selector('[data-qa-selector="label-lfs"]', text: 'LFS') # rubocop:disable QA/SelectorUsage - expect(page).not_to have_selector('.flash-alert') + expect(page).not_to have_selector('[data-testid="alert-danger"]') end it 'renders tree table with non-ASCII filenames without errors' do @@ -46,7 +46,7 @@ RSpec.describe 'Projects tree', :js do expect(page).to have_selector('.tree-item') expect(page).to have_content('Files, encoding and much more') expect(page).to have_content('ใในใ.txt') - expect(page).not_to have_selector('.flash-alert') + expect(page).not_to have_selector('[data-testid="alert-danger"]') end context "with a tree that contains pathspec characters" do @@ -139,7 +139,7 @@ RSpec.describe 'Projects tree', :js do wait_for_requests expect(page).to have_selector('.tree-item') - expect(page).not_to have_selector('.flash-alert') + expect(page).not_to have_selector('[data-testid="alert-danger"]') end context 'for signed commit' do |