diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-11-07 16:32:21 +0000 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-11-07 16:32:21 +0000 |
commit | cc175278467118585e86a8a425715a4e5ae62c95 (patch) | |
tree | c16f84140d4eb8004b0b718dc321f69c1ac0889d /spec | |
parent | a3e1cb8187a4e2b926e8496af4a9ea80c91d491a (diff) | |
parent | 091f6387e4a9602e3213bbcfff1d51209d7efed4 (diff) | |
download | gitlab-ce-cc175278467118585e86a8a425715a4e5ae62c95.tar.gz |
Merge branch '39878-commit-pipeline-reads-wrong-key' into 'master'
Fix commit pipeline showing wrong status
Closes #39878
See merge request gitlab-org/gitlab-ce!15238
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/commit/mini_pipeline_graph_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/features/projects/commit/mini_pipeline_graph_spec.rb b/spec/features/projects/commit/mini_pipeline_graph_spec.rb index 807a2189cc4..91282063a8d 100644 --- a/spec/features/projects/commit/mini_pipeline_graph_spec.rb +++ b/spec/features/projects/commit/mini_pipeline_graph_spec.rb @@ -12,6 +12,13 @@ feature 'Mini Pipeline Graph in Commit View', :js do end let(:build) { create(:ci_build, pipeline: pipeline) } + it 'display icon with status' do + build.run + visit project_commit_path(project, project.commit.id) + + expect(page).to have_selector('.ci-status-icon-running') + end + it 'displays a mini pipeline graph' do build.run visit project_commit_path(project, project.commit.id) |