diff options
author | Regis <boudinot.regis@yahoo.com> | 2016-12-27 11:49:14 -0700 |
---|---|---|
committer | Regis <boudinot.regis@yahoo.com> | 2016-12-27 11:49:14 -0700 |
commit | abed2c1a9443180dddb3c26d29d447d2e7562337 (patch) | |
tree | 885ed4655c4e74ad988dced626a98bdbcbf0c0d8 /spec | |
parent | 5e558af7a0cb77f58271b02039966ecf6c8df84c (diff) | |
download | gitlab-ce-abed2c1a9443180dddb3c26d29d447d2e7562337.tar.gz |
remove data attribute test since endpoint is in Vue state for stage component
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/pipelines/pipelines_spec.rb | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/spec/features/projects/pipelines/pipelines_spec.rb b/spec/features/projects/pipelines/pipelines_spec.rb index 9e3d68ed99d..e783576cb2e 100644 --- a/spec/features/projects/pipelines/pipelines_spec.rb +++ b/spec/features/projects/pipelines/pipelines_spec.rb @@ -276,29 +276,19 @@ describe 'Pipelines', :feature, :js do before do visit namespace_project_pipelines_path(project.namespace, project) - end - - it 'should render a mini pipeline graph' do - endpoint = stage_namespace_project_pipeline_path(pipeline.project.namespace, pipeline.project, pipeline, stage: build.name) - - expect(page).to have_selector('.mini-pipeline-graph') - expect(page).to have_selector(".js-builds-dropdown-button[data-stage-endpoint='#{endpoint}']") + wait_for_vue_resource end context 'when clicking a graph stage' do it 'should open a dropdown' do find('.js-builds-dropdown-button').trigger('click') - wait_for_ajax - expect(page).to have_link build.name end it 'should be possible to retry the failed build' do find('.js-builds-dropdown-button').trigger('click') - wait_for_ajax - find('a.ci-action-icon-container').trigger('click') expect(page).not_to have_content('Cancel running') end |