summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorAnnabel Gray <annabel.m.gray@gmail.com>2018-06-14 20:22:56 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-06-14 20:22:56 +0000
commitcf01719d6e5a511adae61cd10ef0f82228747c24 (patch)
treee82f260eddf7a2d560855503dd92aacd9ba34b10 /spec/features
parent941cf7c3e794417e6a49c7d4dc3c7044b3051a81 (diff)
downloadgitlab-ce-cf01719d6e5a511adae61cd10ef0f82228747c24.tar.gz
Resolve ""Click to expand" link in collapsed diffs should be blue"
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/projects/diffs/diff_show_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/features/projects/diffs/diff_show_spec.rb b/spec/features/projects/diffs/diff_show_spec.rb
index c1307ab640f..9bfcb1e816a 100644
--- a/spec/features/projects/diffs/diff_show_spec.rb
+++ b/spec/features/projects/diffs/diff_show_spec.rb
@@ -166,8 +166,7 @@ feature 'Diff file viewer', :js do
context 'expanding the diff' do
before do
- # We can't use `click_link` because the "link" doesn't have an `href`.
- find('a.click-to-expand').click
+ click_button 'Click to expand it.'
wait_for_requests
end