diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 09:45:46 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 09:45:46 +0000 |
commit | a7b3560714b4d9cc4ab32dffcd1f74a284b93580 (patch) | |
tree | 7452bd5c3545c2fa67a28aa013835fb4fa071baf /qa/qa/page/project/show.rb | |
parent | ee9173579ae56a3dbfe5afe9f9410c65bb327ca7 (diff) | |
download | gitlab-ce-a7b3560714b4d9cc4ab32dffcd1f74a284b93580.tar.gz |
Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42
Diffstat (limited to 'qa/qa/page/project/show.rb')
-rw-r--r-- | qa/qa/page/project/show.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qa/qa/page/project/show.rb b/qa/qa/page/project/show.rb index 8074b6f833b..4c9df2716e2 100644 --- a/qa/qa/page/project/show.rb +++ b/qa/qa/page/project/show.rb @@ -39,6 +39,8 @@ module QA element :forked_from_link element :project_name_content element :project_id_content + element :project_badges_content + element :badge_image_link end view 'app/views/projects/_files.html.haml' do @@ -179,6 +181,12 @@ module QA has_css?('.tree-holder') end end + + def has_visible_badge_image_link?(link_url) + within_element(:project_badges_content) do + has_element?(:badge_image_link, link_url: link_url) + end + end end end end |