summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-09-22 06:28:53 +0000
committerRémy Coutable <remy@rymai.me>2017-09-22 06:28:53 +0000
commitd103e95513704314a38ab8ae441851524031c4a1 (patch)
tree0a3d6c7d7b824226351571232fac96ce3ef52ae3 /features
parentf357fc7d2c1f3898b1ce0df7f97665aa8230d05e (diff)
parent9c096ddf28d63a89ff2844514bde9ab93a8756ae (diff)
downloadgitlab-ce-d103e95513704314a38ab8ae441851524031c4a1.tar.gz
Merge branch 'add-view-replaced-file-link' into 'master'
Add view replaced file link for image diffs See merge request gitlab-org/gitlab-ce!14394
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/commits/commits.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/commits/commits.rb b/features/steps/project/commits/commits.rb
index 305fff37c41..318e054e978 100644
--- a/features/steps/project/commits/commits.rb
+++ b/features/steps/project/commits/commits.rb
@@ -139,7 +139,7 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
end
step 'The diff links to both the previous and current image' do
- links = page.all('.two-up span div a')
+ links = page.all('.file-actions a')
expect(links[0]['href']).to match %r{blob/#{sample_image_commit.old_blob_id}}
expect(links[1]['href']).to match %r{blob/#{sample_image_commit.new_blob_id}}
end