Commit d6a91a37 authored by Dan Davison's avatar Dan Davison

Merge branch 'use-qa-selectors-in-test' into 'master'

Use qa-selectors on container  registry test

See merge request gitlab-org/gitlab!55636
parents 0d6b429b 866ff1de
......@@ -14,11 +14,11 @@ module QA
end
def has_registry_repository?(name)
find('a[data-testid="details-link"]', text: name)
find_element(:registry_image_content, text: name)
end
def click_on_image(name)
find('a[data-testid="details-link"]', text: name).click
click_element(:registry_image_content, text: name)
end
def has_tag?(tag_name)
......@@ -30,7 +30,7 @@ module QA
end
def click_delete
find('[data-testid="single-delete-button"]').click
click_element(:tag_delete_button)
find_button('Confirm').click
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment