diff options
Diffstat (limited to 'qa/qa/page/project/pipeline/index.rb')
-rw-r--r-- | qa/qa/page/project/pipeline/index.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qa/qa/page/project/pipeline/index.rb b/qa/qa/page/project/pipeline/index.rb index f018e4bf018..f9332e0a853 100644 --- a/qa/qa/page/project/pipeline/index.rb +++ b/qa/qa/page/project/pipeline/index.rb @@ -4,7 +4,7 @@ module QA::Page module Project::Pipeline class Index < QA::Page::Base view 'app/assets/javascripts/pipelines/components/pipeline_url.vue' do - element :pipeline_link, 'class="js-pipeline-url-link' # rubocop:disable QA/ElementWithPattern + element :pipeline_url_link end view 'app/assets/javascripts/pipelines/components/pipelines_table_row.vue' do @@ -13,9 +13,7 @@ module QA::Page end def click_on_latest_pipeline - css = '.js-pipeline-url-link' - - first(css, wait: 60).click + all_elements(:pipeline_url_link, minimum: 1, wait: QA::Support::Repeater::DEFAULT_MAX_WAIT_TIME).first.click end def wait_for_latest_pipeline_success |