diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 12:55:51 +0300 |
commit | e8d2c2579383897a1dd7f9debd359abe8ae8373d (patch) | |
tree | c42be41678c2586d49a75cabce89322082698334 /spec/features/groups/show_spec.rb | |
parent | fc845b37ec3a90aaa719975f607740c22ba6a113 (diff) |
Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42
Diffstat (limited to 'spec/features/groups/show_spec.rb')
-rw-r--r-- | spec/features/groups/show_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/groups/show_spec.rb b/spec/features/groups/show_spec.rb index 4bcba4c21ed..79226facad4 100644 --- a/spec/features/groups/show_spec.rb +++ b/spec/features/groups/show_spec.rb @@ -208,13 +208,13 @@ RSpec.describe 'Group show page' do expect(page).to have_selector('.content[itemscope][itemtype="https://schema.org/Organization"]') page.within('.group-home-panel') do - expect(page).to have_selector('img.avatar[itemprop="logo"]') + expect(page).to have_selector('[itemprop="logo"]') expect(page).to have_selector('[itemprop="name"]', text: group.name) expect(page).to have_selector('[itemprop="description"]', text: group.description) end page.within('[itemprop="owns"][itemtype="https://schema.org/SoftwareSourceCode"]') do - expect(page).to have_selector('img.avatar[itemprop="image"]') + expect(page).to have_selector('[itemprop="image"]') expect(page).to have_selector('[itemprop="name"]', text: project.name) expect(page).to have_selector('[itemprop="description"]', text: project.description) end @@ -224,12 +224,12 @@ RSpec.describe 'Group show page' do el.click wait_for_all_requests page.within(el) do - expect(page).to have_selector('img.avatar[itemprop="logo"]') + expect(page).to have_selector('[itemprop="logo"]') expect(page).to have_selector('[itemprop="name"]', text: subgroup.name) expect(page).to have_selector('[itemprop="description"]', text: subgroup.description) page.within('[itemprop="owns"][itemtype="https://schema.org/SoftwareSourceCode"]') do - expect(page).to have_selector('img.avatar[itemprop="image"]') + expect(page).to have_selector('[itemprop="image"]') expect(page).to have_selector('[itemprop="name"]', text: subproject.name) expect(page).to have_selector('[itemprop="description"]', text: subproject.description) end |