summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/features/projects/pipelines/pipelines_spec.rb12
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