diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-21 12:10:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-21 12:10:08 +0300 |
commit | 202268ad93e9a1556f5700326be5ec89bd641a97 (patch) | |
tree | db1faf51de8859ccd812e4a6ed61284cc3bb6a9a /qa | |
parent | 3c63ea4631f629f83c7d35e65963ffc1acf83161 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/project/job/show.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qa/qa/page/project/job/show.rb b/qa/qa/page/project/job/show.rb index 6243dc92b45..6a657b4ab39 100644 --- a/qa/qa/page/project/job/show.rb +++ b/qa/qa/page/project/job/show.rb @@ -19,6 +19,10 @@ module QA element :retry_button end + view 'app/assets/javascripts/jobs/components/artifacts_block.vue' do + element :browse_artifacts_button + end + def successful?(timeout: 60) raise "Timed out waiting for the build trace to load" unless loaded? raise "Timed out waiting for the status to be a valid completed state" unless completed?(timeout: timeout) @@ -42,6 +46,14 @@ module QA result end + def has_browse_button? + has_element? :browse_artifacts_button + end + + def click_browse_button + click_element :browse_artifacts_button + end + def retry! click_element :retry_button end |