From a26f2278e57c57e1599d4c5b4d4f7c1f5f3c2760 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Wed, 20 Sep 2023 17:15:47 +0000 Subject: [PATCH 1/3] Update rubocop-capybara to version 2.19.0 --- src/api/Gemfile.lock | 2 +- .../vendor/cache/rubocop-capybara-2.18.0.gem | Bin 15360 -> 0 bytes .../vendor/cache/rubocop-capybara-2.19.0.gem | Bin 0 -> 18432 bytes 3 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 src/api/vendor/cache/rubocop-capybara-2.18.0.gem create mode 100644 src/api/vendor/cache/rubocop-capybara-2.19.0.gem diff --git a/src/api/Gemfile.lock b/src/api/Gemfile.lock index 8cfa9df78cf..d15a95e888e 100644 --- a/src/api/Gemfile.lock +++ b/src/api/Gemfile.lock @@ -403,7 +403,7 @@ GEM unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.29.0) parser (>= 3.2.1.0) - rubocop-capybara (2.18.0) + rubocop-capybara (2.19.0) rubocop (~> 1.41) rubocop-factory_bot (2.24.0) rubocop (~> 1.33) diff --git a/src/api/vendor/cache/rubocop-capybara-2.18.0.gem b/src/api/vendor/cache/rubocop-capybara-2.18.0.gem deleted file mode 100644 index 7001bac6de56cfc2e918cf083e2385943467d40c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15360 zcmeIZRZt~7w=IghySp{+E{#Lu&_Ltv-ncH@-QC^Y9Tw2IySq!{y6(5{eb}e|hkMW2 zRlDwf_~%QKN@i+iq%u;ejA>`)Vq|LMV#I9W1@_-%tp6A%Cnwl{l>gYjmTa6nTwrXR zob0Te?Cd<^C^SU~_82$byBzH?QGu!{Q<6r9kU;Y2j+WvEK z|Kk2XwMiNU2R1-0W(olb)UdPJsPx;!uVz7APo@=c zY@=&slP`>fP;M!zE4QFr4X0gu5eah}z+3{M1n7%Sd5KQ#Idz4;#urMGlImaZxw=kw zt8^%q6&6E$z?i9NCd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w9b1TVnT6%)#(mHI z#@6DLKp6i1@wKyL*KTFb4x6bIu*Y=bvS6`V^QyAq;7KRyg$mJcXf*nM;LiS~bc^8s VWqkkb_-_RMjljPV_@9cv{{;z1bLId5 diff --git a/src/api/vendor/cache/rubocop-capybara-2.19.0.gem b/src/api/vendor/cache/rubocop-capybara-2.19.0.gem new file mode 100644 index 0000000000000000000000000000000000000000..4ba18a98640ce77ef8c54214309ddbb06cc4234c GIT binary patch literal 18432 zcmeIZRd6M}(j{tUW@ct)cAMR1W@fhA%-CkO+sw?&%xz|7W^Xg^`DW(fOq`gw_htUL zb0bbZNGd6mkxEr9l~P*v=5EGj#%{(;mfj%$Rl@R*aBy&d{P+AH`S+ZalY<3>m4lOo zjh%yqjg1?Gg_WIyofCwF<-f|H|5fiVS2tsqe@ybQGB>yTUmO0d{QuVeKgag3!TnqJ z|63o4qhUbO`(e$&z(+LfZI8H6zH1E&PQ=^7ntEiA;&8lCvhBT{WJuDnHdI0xW;ZTm z)95Ei!;AWQ$h|z!4Hsf><+{4+SGtARGqI^<#QGZic+E;b(L-mMMNi+#kV5t326{Lc ztvkZA3lmUFQ&C{r;O>pYs>uZmi^~pFWd$^oj9?P0kE^P16YRDqic6Rjx zxH@yAA+O1>gu63dRtIz5rYb_$B$S(F_^roOFqUQ8jZH}6GjI^T5M6=JQ)7>sOo4UX z1%5sc8YcV!QBtwPIq@5cF*m;z%#6o=$TV?e#G<%tcSJ$f2#yCo$K*s%3-}ucWUJ3j}&J2gD?JH2P9Dsg;g!<4+`%)4e}kg~h+ z!$wCW(u_MbzS+01wpA*%=t(s+=b}%gZFsI1pt4t_jf)jRSZP3_a!(8kib+#3y*$+z zdLQV}4RM#RdvmDQ$E*61RS{KMedM2zm(^)VgGOa>i=ce|G@r#5b*yy{AXup z{Ri{^4gcA>SpS3n|C*)$y3)V!|4Pu-W0R-$W4$jpc`D{Qu1Mg017Mx?6Wt@T%X%TX zxXU9htHoSbfun^oo`U+Rd41O(G$BPg(wj$yK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-Rq($i;)Evm4&lCpnYy#?K!J`li!*;im6J*W7Tz|+&76T(fFI7%`z zWD7~^*VMB_Rbti#ORi+r?RLrC2*2b3Z}WiQARxeh62DX;Vh|e8|2n?fe>DG}^?<3B zxv8z|FMC%eFJpVV{~8wPf2YR(Kk)xq{-OT=8~>Aoi-qk!{LlZhGyT8U_AmaYc_M!! zh6s$rgZ7A>5kvl4@6^;5rU*Aqh8B8<_a?TDH0H}v$DMZ%(Qcm~<$V0u!&}p?*L{wm z|L3=-Y#eKvjw7E4b!PSQ*YE1I(d#ZaPyWeqSat??8aM_4Bp0u|YLD;tqw5RQn7xeV z@p);*$*n|fj}0H@dYvpTFb}R{*`3bNWu$XMMbYI@j8axDQQ7$}|{6-W2b zh!~59!Y-tnDNCv5Z&^|KtX7x7z*I3^C*4Cfxz8@d8D6@g9Bx>f3(dJle(_Q2CO)gw qv5xc- literal 0 HcmV?d00001 From f89f181a23c919921a2718439b8f93a3c8d4d761 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Mon, 25 Sep 2023 08:17:25 +0200 Subject: [PATCH 2/3] Fix rubocop issues --- .../spec/components/avatar_component_spec.rb | 4 +- ...equest_activity_timeline_component_spec.rb | 6 +- .../bs_request_comment_component_spec.rb | 14 ++-- ..._request_history_element_component_spec.rb | 2 +- ...request_overview_avatars_component_spec.rb | 6 +- ..._result_for_architecture_component_spec.rb | 24 +++--- .../buildresult_status_link_component_spec.rb | 6 +- .../notification_action_bar_component_spec.rb | 4 +- ...ation_action_description_component_spec.rb | 26 +++--- .../notification_avatars_component_spec.rb | 14 ++-- .../notification_excerpt_component_spec.rb | 4 +- .../components/user_avatar_component_spec.rb | 2 +- .../watchlist_icon_component_spec.rb | 18 ++-- .../spec/controllers/group_controller_spec.rb | 4 +- .../controllers/person_controller_spec.rb | 20 ++--- .../controllers/request_controller_spec.rb | 4 +- .../staging/backlog_controller_spec.rb | 4 +- .../excluded_requests_controller_spec.rb | 8 +- .../staged_requests_controller_spec.rb | 14 ++-- .../staging_projects_controller_spec.rb | 82 +++++++++---------- .../status_messages_controller_spec.rb | 4 +- .../worker/status_controller_spec.rb | 2 +- .../webui/maintained_projects_spec.rb | 20 ++--- src/api/spec/features/webui/packages_spec.rb | 4 +- src/api/spec/features/webui/search_spec.rb | 16 ++-- .../features/bootstrap_user_tab.rb | 4 +- src/api/test/test_helper.rb | 2 +- 27 files changed, 159 insertions(+), 159 deletions(-) diff --git a/src/api/spec/components/avatar_component_spec.rb b/src/api/spec/components/avatar_component_spec.rb index 951fdd38bad..6d6be0189bd 100644 --- a/src/api/spec/components/avatar_component_spec.rb +++ b/src/api/spec/components/avatar_component_spec.rb @@ -14,7 +14,7 @@ end it 'displays avatar without circle' do - expect(rendered_content).not_to have_selector('img.rounded-circle', count: 1) + expect(rendered_content).not_to have_css('img.rounded-circle', count: 1) end end @@ -28,7 +28,7 @@ end it 'displays avatar inside a circle' do - expect(rendered_content).to have_selector('img.rounded-circle', count: 1) + expect(rendered_content).to have_css('img.rounded-circle', count: 1) end end end diff --git a/src/api/spec/components/bs_request_activity_timeline_component_spec.rb b/src/api/spec/components/bs_request_activity_timeline_component_spec.rb index 6629aec9db8..dcbd54c36f3 100644 --- a/src/api/spec/components/bs_request_activity_timeline_component_spec.rb +++ b/src/api/spec/components/bs_request_activity_timeline_component_spec.rb @@ -6,11 +6,11 @@ let!(:comment) { travel_to(1.day.ago) { create(:comment_request, commentable: bs_request) } } it 'shows the comment first, as it is an older timeline item' do - expect(render_inline(described_class.new(bs_request: bs_request))).to have_selector('.timeline-item:first-child', text: 'wrote') - expect(render_inline(described_class.new(bs_request: bs_request))).to have_selector('.timeline-item:first-child', text: '1 day ago') + expect(render_inline(described_class.new(bs_request: bs_request))).to have_css('.timeline-item:first-child', text: 'wrote') + expect(render_inline(described_class.new(bs_request: bs_request))).to have_css('.timeline-item:first-child', text: '1 day ago') end it 'shows the history element in the second position, as it is more recent' do - expect(render_inline(described_class.new(bs_request: bs_request))).to have_selector('.timeline-item:last-child', text: 'accepted request') + expect(render_inline(described_class.new(bs_request: bs_request))).to have_css('.timeline-item:last-child', text: 'accepted request') end end diff --git a/src/api/spec/components/bs_request_comment_component_spec.rb b/src/api/spec/components/bs_request_comment_component_spec.rb index 12cf9bb111b..200a44b886c 100644 --- a/src/api/spec/components/bs_request_comment_component_spec.rb +++ b/src/api/spec/components/bs_request_comment_component_spec.rb @@ -9,7 +9,7 @@ end it 'displays a comment icon' do - expect(rendered_content).to have_selector('i.fa-comment', count: 1) + expect(rendered_content).to have_css('i.fa-comment', count: 1) end it 'displays an avatar' do @@ -45,11 +45,11 @@ end it 'is possible to edit the comment' do - expect(rendered_content).to have_selector('.dropdown-menu', text: 'Edit') + expect(rendered_content).to have_css('.dropdown-menu', text: 'Edit') end it 'is possible to remove the comment' do - expect(rendered_content).to have_selector('.dropdown-menu', text: 'Delete') + expect(rendered_content).to have_css('.dropdown-menu', text: 'Delete') end end @@ -64,11 +64,11 @@ end it 'is not possible to edit the comment' do - expect(rendered_content).not_to have_selector('.dropdown-menu', text: 'Edit') + expect(rendered_content).not_to have_css('.dropdown-menu', text: 'Edit') end it 'is not possible to remove the comment' do - expect(rendered_content).not_to have_selector('.dropdown-menu', text: 'Delete') + expect(rendered_content).not_to have_css('.dropdown-menu', text: 'Delete') end end @@ -88,8 +88,8 @@ end it 'displays the comments on level 2 in the 2nd level' do - expect(rendered_content).to have_selector('.timeline-item-comment > .timeline-item-comment', text: "(#{comment_c.user.login})\nwrote") - expect(rendered_content).to have_selector('.timeline-item-comment > .timeline-item-comment > .timeline-item-comment', text: 'Comment C') + expect(rendered_content).to have_css('.timeline-item-comment > .timeline-item-comment', text: "(#{comment_c.user.login})\nwrote") + expect(rendered_content).to have_css('.timeline-item-comment > .timeline-item-comment > .timeline-item-comment', text: 'Comment C') end it 'does not display the comments on level 4 in the 4th one' do diff --git a/src/api/spec/components/bs_request_history_element_component_spec.rb b/src/api/spec/components/bs_request_history_element_component_spec.rb index ae02e642593..cca91698ed6 100644 --- a/src/api/spec/components/bs_request_history_element_component_spec.rb +++ b/src/api/spec/components/bs_request_history_element_component_spec.rb @@ -24,7 +24,7 @@ end it 'displays the element comment' do - expect(rendered_content).to have_selector('.timeline-item-comment', text: element.comment) + expect(rendered_content).to have_css('.timeline-item-comment', text: element.comment) end end diff --git a/src/api/spec/components/bs_request_overview_avatars_component_spec.rb b/src/api/spec/components/bs_request_overview_avatars_component_spec.rb index 7e5dac6cc2b..225079802dc 100644 --- a/src/api/spec/components/bs_request_overview_avatars_component_spec.rb +++ b/src/api/spec/components/bs_request_overview_avatars_component_spec.rb @@ -18,7 +18,7 @@ end it 'renders the maintainers of the package' do - expect(rendered_content).to have_selector('img[title="Bob"]', count: 1) + expect(rendered_content).to have_css('img[title="Bob"]', count: 1) end end @@ -32,7 +32,7 @@ end it 'renders the maintainers of the project' do - expect(rendered_content).to have_selector('img[title="Bob"]', count: 1) + expect(rendered_content).to have_css('img[title="Bob"]', count: 1) end end @@ -42,7 +42,7 @@ end it 'do not render a maintainer' do - expect(rendered_content).to have_selector('img[title="Bob"]', count: 0) + expect(rendered_content).to have_css('img[title="Bob"]', count: 0) end end end diff --git a/src/api/spec/components/build_result_for_architecture_component_spec.rb b/src/api/spec/components/build_result_for_architecture_component_spec.rb index 932856f00c4..18e18e91aab 100644 --- a/src/api/spec/components/build_result_for_architecture_component_spec.rb +++ b/src/api/spec/components/build_result_for_architecture_component_spec.rb @@ -19,12 +19,12 @@ ) end - it { expect(rendered_content).to have_selector('.build-result', class: 'border-success') } - it { expect(rendered_content).to have_selector('.build-status i', class: 'fa-check text-success') } - it { expect(rendered_content).to have_selector('.build-status span', text: 'succeeded') } - it { expect(rendered_content).to have_selector('.repository-status i', class: 'fa-lock') } - it { expect(rendered_content).to have_selector('.repository-status span', text: 'blocked') } - it { expect(rendered_content).not_to have_selector("div[data-bs-content*='Details']") } + it { expect(rendered_content).to have_css('.build-result', class: 'border-success') } + it { expect(rendered_content).to have_css('.build-status i', class: 'fa-check text-success') } + it { expect(rendered_content).to have_css('.build-status span', text: 'succeeded') } + it { expect(rendered_content).to have_css('.repository-status i', class: 'fa-lock') } + it { expect(rendered_content).to have_css('.repository-status span', text: 'blocked') } + it { expect(rendered_content).not_to have_css("div[data-bs-content*='Details']") } end context 'with excluded but visible result' do @@ -39,11 +39,11 @@ ) end - it { expect(rendered_content).to have_selector('.build-result', class: 'border-gray-300') } - it { expect(rendered_content).to have_selector('.build-status i', class: 'fa-xmark text-gray-500') } - it { expect(rendered_content).to have_selector('.build-status span', text: 'excluded') } - it { expect(rendered_content).to have_selector('.repository-status i', class: 'fa-truck') } - it { expect(rendered_content).to have_selector('.repository-status span', text: 'published') } - it { expect(rendered_content).to have_selector("div[data-bs-content*='fake details']") } + it { expect(rendered_content).to have_css('.build-result', class: 'border-gray-300') } + it { expect(rendered_content).to have_css('.build-status i', class: 'fa-xmark text-gray-500') } + it { expect(rendered_content).to have_css('.build-status span', text: 'excluded') } + it { expect(rendered_content).to have_css('.repository-status i', class: 'fa-truck') } + it { expect(rendered_content).to have_css('.repository-status span', text: 'published') } + it { expect(rendered_content).to have_css("div[data-bs-content*='fake details']") } end end diff --git a/src/api/spec/components/buildresult_status_link_component_spec.rb b/src/api/spec/components/buildresult_status_link_component_spec.rb index cd2d64cd47f..b81fd6ed424 100644 --- a/src/api/spec/components/buildresult_status_link_component_spec.rb +++ b/src/api/spec/components/buildresult_status_link_component_spec.rb @@ -18,9 +18,9 @@ let(:build_details) { 'Some details about the build' } it 'renders a span tag with text-warning style and build status scheduled' do - expect(rendered_content).to have_selector('span.text-warning.toggle-build-info', - id: "id-#{package_name}_#{repository_name}_#{architecture_name}", - text: 'scheduled') + expect(rendered_content).to have_css('span.text-warning.toggle-build-info', + id: "id-#{package_name}_#{repository_name}_#{architecture_name}", + text: 'scheduled') end end diff --git a/src/api/spec/components/notification_action_bar_component_spec.rb b/src/api/spec/components/notification_action_bar_component_spec.rb index b92212d6b5f..87d229e4e0d 100644 --- a/src/api/spec/components/notification_action_bar_component_spec.rb +++ b/src/api/spec/components/notification_action_bar_component_spec.rb @@ -12,7 +12,7 @@ end it do - expect(rendered_content).to have_selector(:css, 'a[href="my/notifications?update_all=true"]') + expect(rendered_content).to have_link(href: 'my/notifications?update_all=true') end it do @@ -35,7 +35,7 @@ end it do - expect(rendered_content).to have_selector(:css, 'a[href="my/notifications?type=read&update_all=true"]') + expect(rendered_content).to have_link(href: 'my/notifications?type=read&update_all=true') end it do diff --git a/src/api/spec/components/notification_action_description_component_spec.rb b/src/api/spec/components/notification_action_description_component_spec.rb index fd46c07f9d1..82510e10d4f 100644 --- a/src/api/spec/components/notification_action_description_component_spec.rb +++ b/src/api/spec/components/notification_action_description_component_spec.rb @@ -12,7 +12,7 @@ end it 'renders a div containing only the target project and package names' do - expect(rendered_content).to have_selector('div.smart-overflow', text: 'project_123 / package_123') + expect(rendered_content).to have_css('div.smart-overflow', text: 'project_123 / package_123') end end @@ -29,7 +29,7 @@ end it 'renders a div containing only the target project' do - expect(rendered_content).to have_selector('div.smart-overflow', exact_text: 'project_12345') + expect(rendered_content).to have_css('div.smart-overflow', exact_text: 'project_12345') end end @@ -48,7 +48,7 @@ end it 'renders a div containing the source and target project/package names' do - expect(rendered_content).to have_selector('div.smart-overflow', text: 'source_project_123 / source_package_123project_123 / package_123') + expect(rendered_content).to have_css('div.smart-overflow', text: 'source_project_123 / source_package_123project_123 / package_123') end end @@ -63,7 +63,7 @@ end it 'renders a div containing only the target project and package names' do - expect(rendered_content).to have_selector('div.smart-overflow', text: 'project_123 / package_123') + expect(rendered_content).to have_css('div.smart-overflow', text: 'project_123 / package_123') end end @@ -79,7 +79,7 @@ end it 'renders a div containing only the target project and package names' do - expect(rendered_content).to have_selector('div.smart-overflow', text: 'project_123 / package_123') + expect(rendered_content).to have_css('div.smart-overflow', text: 'project_123 / package_123') end end @@ -93,7 +93,7 @@ end it 'renders a div containing the project name' do - expect(rendered_content).to have_selector('div.smart-overflow', text: 'my_project') + expect(rendered_content).to have_css('div.smart-overflow', text: 'my_project') end end @@ -108,7 +108,7 @@ end it 'renders a div containing the project and package names' do - expect(rendered_content).to have_selector('div.smart-overflow', text: 'my_project_2 / my_package_2') + expect(rendered_content).to have_css('div.smart-overflow', text: 'my_project_2 / my_package_2') end end @@ -124,7 +124,7 @@ end it 'renders a div containing who added the recipient and their new role in the project' do - expect(rendered_content).to have_selector('div.smart-overflow', text: 'Jane made you maintainer of some_awesome_project') + expect(rendered_content).to have_css('div.smart-overflow', text: 'Jane made you maintainer of some_awesome_project') end end @@ -139,7 +139,7 @@ end it "renders a div containing who added the recipient's group and their new role in the project" do - expect(rendered_content).to have_selector('div.smart-overflow', text: 'Jane made group_1 maintainer of some_awesome_project') + expect(rendered_content).to have_css('div.smart-overflow', text: 'Jane made group_1 maintainer of some_awesome_project') end end end @@ -156,7 +156,7 @@ end it "renders a div containing who removed the recipient's role in the project" do - expect(rendered_content).to have_selector('div.smart-overflow', text: 'Jane removed you as maintainer of some_awesome_project') + expect(rendered_content).to have_css('div.smart-overflow', text: 'Jane removed you as maintainer of some_awesome_project') end end @@ -171,7 +171,7 @@ end it "renders a div containing who removed the recipient's group role in the project" do - expect(rendered_content).to have_selector('div.smart-overflow', text: 'Jane removed group_1 as maintainer of some_awesome_project') + expect(rendered_content).to have_css('div.smart-overflow', text: 'Jane removed group_1 as maintainer of some_awesome_project') end end end @@ -185,8 +185,8 @@ before { render_inline(described_class.new(notification)) } it 'renders a div containing who created a report and for what' do - expect(rendered_content).to have_selector('div.smart-overflow', - text: "User '#{notification.notifiable.user.login}' created a report for a Comment for the following reason:Because reasons.") + expect(rendered_content).to have_css('div.smart-overflow', + text: "User '#{notification.notifiable.user.login}' created a report for a Comment for the following reason:Because reasons.") end end end diff --git a/src/api/spec/components/notification_avatars_component_spec.rb b/src/api/spec/components/notification_avatars_component_spec.rb index bdb209c0646..a3b880b774a 100644 --- a/src/api/spec/components/notification_avatars_component_spec.rb +++ b/src/api/spec/components/notification_avatars_component_spec.rb @@ -17,11 +17,11 @@ end it 'renders an extra avatar for other users involved' do - expect(rendered_content).to have_selector('li.list-inline-item > span[title="1 more users involved"]') + expect(rendered_content).to have_css('li.list-inline-item > span[title="1 more users involved"]') end it 'renders an avatar for each user up to the limit MAXIMUM_DISPLAYED_AVATARS' do - expect(rendered_content).to have_selector('li.list-inline-item > img', count: 6) + expect(rendered_content).to have_css('li.list-inline-item > img', count: 6) end end @@ -45,23 +45,23 @@ end it "renders an avatar for the BsRequest's creator with the avatar title being the creator's real name" do - expect(rendered_content).to have_selector('li.list-inline-item > img[title="Johnny Dupuis"]', count: 1) + expect(rendered_content).to have_css('li.list-inline-item > img[title="Johnny Dupuis"]', count: 1) end it "renders an avatar for a group review with the avatar title being the group's title" do - expect(rendered_content).to have_selector('li.list-inline-item > img[title="Canailles"]', count: 1) + expect(rendered_content).to have_css('li.list-inline-item > img[title="Canailles"]', count: 1) end it "renders an avatar for a user review with the avatar title being the user's real name" do - expect(rendered_content).to have_selector('li.list-inline-item > img[title="Jane Doe"]', count: 1) + expect(rendered_content).to have_css('li.list-inline-item > img[title="Jane Doe"]', count: 1) end it "renders an avatar for a package review with the avatar title being the package's project and name" do - expect(rendered_content).to have_selector('li.list-inline-item > span[title="Package project1/package1"]', count: 1) + expect(rendered_content).to have_css('li.list-inline-item > span[title="Package project1/package1"]', count: 1) end it "renders an avatar for a project review with the avatar title being the project's name" do - expect(rendered_content).to have_selector('li.list-inline-item > span[title="Project project2"]', count: 1) + expect(rendered_content).to have_css('li.list-inline-item > span[title="Project project2"]', count: 1) end end end diff --git a/src/api/spec/components/notification_excerpt_component_spec.rb b/src/api/spec/components/notification_excerpt_component_spec.rb index 0b6dc394730..b3d1463f6cf 100644 --- a/src/api/spec/components/notification_excerpt_component_spec.rb +++ b/src/api/spec/components/notification_excerpt_component_spec.rb @@ -8,7 +8,7 @@ let(:notification) { create(:web_notification, :request_created, notifiable: bs_request, subscriber: user) } it do - expect(render_inline(described_class.new(notification.notifiable))).to have_selector('p', text: '') + expect(render_inline(described_class.new(notification.notifiable))).to have_css('p', text: '') end end @@ -17,7 +17,7 @@ let(:notification) { create(:web_notification, :comment_for_project, notifiable: comment, subscriber: user) } it do - expect(render_inline(described_class.new(notification.notifiable))).to have_selector('p', text: 'Nice project!') + expect(render_inline(described_class.new(notification.notifiable))).to have_css('p', text: 'Nice project!') end end diff --git a/src/api/spec/components/user_avatar_component_spec.rb b/src/api/spec/components/user_avatar_component_spec.rb index 5c9d3f2ba70..bb84b8c745d 100644 --- a/src/api/spec/components/user_avatar_component_spec.rb +++ b/src/api/spec/components/user_avatar_component_spec.rb @@ -17,7 +17,7 @@ end it 'renders the maintainers of the package' do - expect(rendered_content).to have_selector('img[title="Bob"]', count: 1) + expect(rendered_content).to have_css('img[title="Bob"]', count: 1) end end end diff --git a/src/api/spec/components/watchlist_icon_component_spec.rb b/src/api/spec/components/watchlist_icon_component_spec.rb index d1a0afe9013..305397f4532 100644 --- a/src/api/spec/components/watchlist_icon_component_spec.rb +++ b/src/api/spec/components/watchlist_icon_component_spec.rb @@ -20,8 +20,8 @@ let!(:item) { project } it 'displays the icon to add item to watchlist' do - expect(rendered_content).to have_selector('a > i.far.fa-eye') - expect(rendered_content).to have_selector('a', text: 'Watch') + expect(rendered_content).to have_css('a > i.far.fa-eye') + expect(rendered_content).to have_css('a', text: 'Watch') end end @@ -31,7 +31,7 @@ let!(:item) { package } it 'displays the icon to add item to watchlist' do - expect(rendered_content).to have_selector('a > i.far.fa-eye') + expect(rendered_content).to have_css('a > i.far.fa-eye') expect(rendered_content).to have_text('Watch') end end @@ -41,7 +41,7 @@ let!(:item) { bs_request } it 'displays the icon to add item to watchlist' do - expect(rendered_content).to have_selector('a > i.far.fa-eye') + expect(rendered_content).to have_css('a > i.far.fa-eye') expect(rendered_content).to have_text('Watch') end end @@ -51,7 +51,7 @@ let!(:item) { project } it 'does not display a watchlist icon' do - expect(rendered_content).not_to have_selector('i.fas.fa-eye') + expect(rendered_content).not_to have_css('i.fas.fa-eye') end end @@ -61,7 +61,7 @@ let!(:item) { package } it 'does not display the watchlist icon' do - expect(rendered_content).not_to have_selector('i.far.fa-eye') + expect(rendered_content).not_to have_css('i.far.fa-eye') end end end @@ -79,7 +79,7 @@ let!(:item) { project } it 'displays the icon to remove item from watchlist' do - expect(rendered_content).to have_selector('a > i.fas.fa-eye') + expect(rendered_content).to have_css('a > i.fas.fa-eye') expect(rendered_content).to have_text('Unwatch') end end @@ -90,7 +90,7 @@ let!(:item) { package } it 'displays the icon to remove item from watchlist' do - expect(rendered_content).to have_selector('a > i.fas.fa-eye') + expect(rendered_content).to have_css('a > i.fas.fa-eye') expect(rendered_content).to have_text('Unwatch') end end @@ -100,7 +100,7 @@ let!(:item) { bs_request } it 'displays the icon to remove item from watchlist' do - expect(rendered_content).to have_selector('a > i.fas.fa-eye') + expect(rendered_content).to have_css('a > i.fas.fa-eye') expect(rendered_content).to have_text('Unwatch') end end diff --git a/src/api/spec/controllers/group_controller_spec.rb b/src/api/spec/controllers/group_controller_spec.rb index 61ec4a7308b..bd7c06aef17 100644 --- a/src/api/spec/controllers/group_controller_spec.rb +++ b/src/api/spec/controllers/group_controller_spec.rb @@ -21,8 +21,8 @@ it { is_expected.to have_http_status(:success) } it 'returns with the xml representation of that group' do - expect(response.body).to have_selector('group > title', text: group.title) - expect(response.body).to have_selector('group > email', text: group.email) + expect(response.body).to have_css('group > title', text: group.title) + expect(response.body).to have_css('group > email', text: group.email) expect(response.body).to have_selector("group > maintainer[userid=#{group_maintainer}]") end end diff --git a/src/api/spec/controllers/person_controller_spec.rb b/src/api/spec/controllers/person_controller_spec.rb index 4efa9d65083..8be98bf1ed8 100644 --- a/src/api/spec/controllers/person_controller_spec.rb +++ b/src/api/spec/controllers/person_controller_spec.rb @@ -26,13 +26,13 @@ get :get_userinfo, params: { login: user.login } end - it { expect(response.body).to have_selector('person > login', text: user.login) } - it { expect(response.body).to have_selector('person > email', text: user.email) } - it { expect(response.body).to have_selector('person > realname', text: user.realname) } - it { expect(response.body).to have_selector('person > state', text: 'confirmed') } + it { expect(response.body).to have_css('person > login', text: user.login) } + it { expect(response.body).to have_css('person > email', text: user.email) } + it { expect(response.body).to have_css('person > realname', text: user.realname) } + it { expect(response.body).to have_css('person > state', text: 'confirmed') } it 'shows not the ignore_auth_services flag' do - expect(response.body).to have_selector('person > ignore_auth_services', text: user.ignore_auth_services, count: 0) + expect(response.body).to have_css('person > ignore_auth_services', text: user.ignore_auth_services, count: 0) end end @@ -42,13 +42,13 @@ get :get_userinfo, params: { login: user.login } end - it { expect(response.body).to have_selector('person > login', text: user.login) } - it { expect(response.body).to have_selector('person > email', text: user.email) } - it { expect(response.body).to have_selector('person > realname', text: user.realname) } - it { expect(response.body).to have_selector('person > state', text: 'confirmed') } + it { expect(response.body).to have_css('person > login', text: user.login) } + it { expect(response.body).to have_css('person > email', text: user.email) } + it { expect(response.body).to have_css('person > realname', text: user.realname) } + it { expect(response.body).to have_css('person > state', text: 'confirmed') } it 'shows not the ignore_auth_services flag' do - expect(response.body).to have_selector('person > ignore_auth_services', text: user.ignore_auth_services, count: 0) + expect(response.body).to have_css('person > ignore_auth_services', text: user.ignore_auth_services, count: 0) end end end diff --git a/src/api/spec/controllers/request_controller_spec.rb b/src/api/spec/controllers/request_controller_spec.rb index aee7764bd38..3893abcc564 100644 --- a/src/api/spec/controllers/request_controller_spec.rb +++ b/src/api/spec/controllers/request_controller_spec.rb @@ -49,8 +49,8 @@ it 'prohibits creation of request', :vcr do expect { post :global_command, params: { cmd: :create }, body: xml, format: :xml }.not_to change(BsRequest, :count) expect(response).to have_http_status(:forbidden) - expect(response.body).to have_selector('status[code=lacking_maintainership] > summary', - text: 'Creating a submit request action with options requires maintainership in source package') + expect(response.body).to have_css('status[code=lacking_maintainership] > summary', + text: 'Creating a submit request action with options requires maintainership in source package') end end end diff --git a/src/api/spec/controllers/staging/backlog_controller_spec.rb b/src/api/spec/controllers/staging/backlog_controller_spec.rb index c275abc6486..68d794a5155 100644 --- a/src/api/spec/controllers/staging/backlog_controller_spec.rb +++ b/src/api/spec/controllers/staging/backlog_controller_spec.rb @@ -31,7 +31,7 @@ it { expect(response).to have_http_status(:success) } it 'returns the backlog xml' do - expect(response.body).to have_selector('backlog > request', count: 1) + expect(response.body).to have_css('backlog > request', count: 1) end end @@ -53,7 +53,7 @@ it { expect(response).to have_http_status(:not_found) } it 'responds_with_an_error' do - expect(response.body).to have_selector('status > summary', text: "Project #{other_project} doesn't have an associated Staging Workflow") + expect(response.body).to have_css('status > summary', text: "Project #{other_project} doesn't have an associated Staging Workflow") end end end diff --git a/src/api/spec/controllers/staging/excluded_requests_controller_spec.rb b/src/api/spec/controllers/staging/excluded_requests_controller_spec.rb index 3daa49bc759..b94b0eefa50 100644 --- a/src/api/spec/controllers/staging/excluded_requests_controller_spec.rb +++ b/src/api/spec/controllers/staging/excluded_requests_controller_spec.rb @@ -39,14 +39,14 @@ it { expect(response).to have_http_status(:success) } it 'returns the excluded_requests xml' do - expect(response.body).to have_selector('excluded_requests', count: 1) - expect(response.body).to have_selector('excluded_requests > request', count: 2) + expect(response.body).to have_css('excluded_requests', count: 1) + expect(response.body).to have_css('excluded_requests > request', count: 2) expect(response.body).to have_selector("excluded_requests > request[id='#{bs_request.number}']") expect(response.body).to have_selector("excluded_requests > request[id='#{bs_request_2.number}']") expect(response.body).to have_selector("excluded_requests > request[package='#{bs_request.first_target_package}']") expect(response.body).to have_selector("excluded_requests > request[package='#{bs_request_2.first_target_package}']") - expect(response.body).to have_selector("excluded_requests > request[description='Request 1']") - expect(response.body).to have_selector("excluded_requests > request[description='Request 2']") + expect(response.body).to have_css("excluded_requests > request[description='Request 1']") + expect(response.body).to have_css("excluded_requests > request[description='Request 2']") end end diff --git a/src/api/spec/controllers/staging/staged_requests_controller_spec.rb b/src/api/spec/controllers/staging/staged_requests_controller_spec.rb index 66da7eaaae1..75064f5e8a8 100644 --- a/src/api/spec/controllers/staging/staged_requests_controller_spec.rb +++ b/src/api/spec/controllers/staging/staged_requests_controller_spec.rb @@ -36,7 +36,7 @@ it { expect(response).to have_http_status(:success) } it 'returns the staged_requests xml' do - expect(response.body).to have_selector('staged_requests > request', count: 1) + expect(response.body).to have_css('staged_requests > request', count: 1) end end @@ -85,7 +85,7 @@ it { expect(response).to have_http_status(:failed_dependency) } it 'responds with an error' do - expect(response.body).to have_selector('status[code=staging_project_not_in_acceptable_state]') + expect(response.body).to have_css('status[code=staging_project_not_in_acceptable_state]') end end @@ -99,7 +99,7 @@ it { expect(response).to have_http_status(:success) } it { expect(staging_project.packages.pluck(:name)).to match_array([target_package.name]) } it { expect(staging_project.staged_requests).to include(bs_request) } - it { expect(response.body).to have_selector('status[code=ok]') } + it { expect(response.body).to have_css('status[code=ok]') } end context 'with delete request', :vcr do @@ -112,7 +112,7 @@ it { expect(response).to have_http_status(:success) } it { expect(staging_project.packages.pluck(:name)).not_to include(target_package.name) } it { expect(staging_project.staged_requests).to include(delete_request) } - it { expect(response.body).to have_selector('status[code=ok]') } + it { expect(response.body).to have_css('status[code=ok]') } end context 'with an excluded request', :vcr do @@ -166,7 +166,7 @@ it { expect(response).to have_http_status(:success) } it { expect(staging_project.packages.pluck(:name)).to match_array([target_package.name]) } it { expect(staging_project.staged_requests).to include(bs_request) } - it { expect(response.body).to have_selector('status[code=ok]') } + it { expect(response.body).to have_css('status[code=ok]') } end end @@ -247,7 +247,7 @@ it { expect(response).to have_http_status(:success) } it { expect(staging_project.staged_requests).to include(bs_request) } it { expect(staging_project.staged_requests).to include(another_bs_request) } - it { expect(response.body).to have_selector('status[code=ok]') } + it { expect(response.body).to have_css('status[code=ok]') } end end @@ -356,7 +356,7 @@ it { expect(response).to have_http_status(:success) } it { expect(staging_project.packages.pluck(:name)).to match_array(['new_package']) } it { expect(staging_project.staged_requests).to include(bs_request) } - it { expect(response.body).to have_selector('status[code=ok]') } + it { expect(response.body).to have_css('status[code=ok]') } end end diff --git a/src/api/spec/controllers/staging/staging_projects_controller_spec.rb b/src/api/spec/controllers/staging/staging_projects_controller_spec.rb index c196e6bb5d7..e8ecfc865e1 100644 --- a/src/api/spec/controllers/staging/staging_projects_controller_spec.rb +++ b/src/api/spec/controllers/staging/staging_projects_controller_spec.rb @@ -110,13 +110,13 @@ it { expect(response.body).not_to include(" Date: Mon, 25 Sep 2023 09:06:33 +0200 Subject: [PATCH 3/3] Fix some rubocop issues manually --- src/api/spec/features/webui/projects_spec.rb | 4 ++-- src/api/spec/features/webui/requests_spec.rb | 4 ++-- src/api/spec/features/webui/watchlists_spec.rb | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/api/spec/features/webui/projects_spec.rb b/src/api/spec/features/webui/projects_spec.rb index 99bbbe9e9fc..5b1c273340e 100644 --- a/src/api/spec/features/webui/projects_spec.rb +++ b/src/api/spec/features/webui/projects_spec.rb @@ -23,7 +23,7 @@ login user visit project_show_path(project: project) - click_on('Edit') + click_link('Edit') expect(page).to have_text("Edit Project #{project}") fill_in 'project_title', with: 'My Title hopefully got changed' @@ -47,7 +47,7 @@ login user visit project_show_path(project: project) - click_on('Edit') + click_link('Edit') expect(page).to have_text("Edit Project #{project}") fill_in 'project_title', with: 'My Title hopefully got changed' diff --git a/src/api/spec/features/webui/requests_spec.rb b/src/api/spec/features/webui/requests_spec.rb index f9e347c9bef..7aa41f44236 100644 --- a/src/api/spec/features/webui/requests_spec.rb +++ b/src/api/spec/features/webui/requests_spec.rb @@ -399,7 +399,7 @@ it 'does not set stage information for submit request' do login submitter visit request_show_path(bs_request) - click_on('Add Reviewer') + click_button('Add Reviewer') within '#add-reviewer-modal' do select 'Project Maintainers', from: 'review_type' fill_in 'Project', with: staging_project.name @@ -426,7 +426,7 @@ it 'shows staging request information' do login staging_user visit request_show_path(staging_request) - click_on('Add Reviewer') + click_button('Add Reviewer') within '#add-reviewer-modal' do select 'Project Maintainers', from: 'review_type' fill_in 'Project', with: staging_project.name diff --git a/src/api/spec/features/webui/watchlists_spec.rb b/src/api/spec/features/webui/watchlists_spec.rb index 93ef26969e9..aca875865cd 100644 --- a/src/api/spec/features/webui/watchlists_spec.rb +++ b/src/api/spec/features/webui/watchlists_spec.rb @@ -11,7 +11,7 @@ login user visit project_show_path(project: project_a) - click_on('Watchlist') + click_link('Watchlist') expect(page).to have_content('Projects you are watching') expect(page).to have_content('There are no projects in the watchlist yet') expect(page).to have_content('There are no packages in the watchlist yet') @@ -27,7 +27,7 @@ # Add another project visit project_show_path(project: project_b) - click_on('Watchlist') + click_link('Watchlist') click_link('Watch this project') within('.watchlist-collapse') do expect(page).to have_content('Remove this project from Watchlist') @@ -37,7 +37,7 @@ # Add package visit package_show_path(project: project_a.name, package: package.name) - click_on('Watchlist') + click_link('Watchlist') click_link('Watch this package') within('.watchlist-collapse') do expect(page).to have_content('Remove this package from Watchlist') @@ -48,7 +48,7 @@ # Add request visit request_show_path(number: request.number) - click_on('Watchlist') + click_link('Watchlist') click_link('Watch this request') within('.watchlist-collapse') do expect(page).to have_content('Remove this request from Watchlist')