diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-11-02 06:02:03 +0000 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-11-02 06:02:03 +0000 |
commit | 0ed0ad5d576c02ff5117243e4a3110d8f01499b7 (patch) | |
tree | 66373fc5a9b4365139893ca49013e795f692feeb /spec | |
parent | e2e3f196ac79beb1a79aff2ff94ddc1882bc76f4 (diff) | |
parent | 19b36862426f64ff1b362df4b3790e0a8880084b (diff) | |
download | gitlab-ce-0ed0ad5d576c02ff5117243e4a3110d8f01499b7.tar.gz |
Merge branch '23273-retry-build-btn' into 'master'
Resolve "Improve build "Retry" button on Build Page"
* On desktop, adds retry button on build page header
* On mobile, adds retry button in sidebar
![Screen_Shot_2016-10-28_at_1.35.07_PM](/uploads/2f9f87a9fc3e85c9aafc8c3d7a231639/Screen_Shot_2016-10-28_at_1.35.07_PM.png)
![Screen_Shot_2016-10-26_at_1.01.44_PM](/uploads/d02ce3a422a505b14ab357f695de8bba/Screen_Shot_2016-10-26_at_1.01.44_PM.png)
Closes #23273
See merge request !7126
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/builds_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/projects/builds_spec.rb b/spec/features/projects/builds_spec.rb index d1685f95503..63a23a14f20 100644 --- a/spec/features/projects/builds_spec.rb +++ b/spec/features/projects/builds_spec.rb @@ -216,7 +216,9 @@ describe "Builds" do @build.run! visit namespace_project_build_path(@project.namespace, @project, @build) click_link 'Cancel' - click_link 'Retry' + page.within('.build-header') do + click_link 'Retry build' + end end it 'shows the right status and buttons' do |