diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-18 20:12:19 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-18 20:12:19 -0700 |
commit | 1cf138170c17913b180e7b3d2840ca4439c618a1 (patch) | |
tree | 2e5700d5280c8763ca098299541ba6a03c80887f /features | |
parent | e07d32eb418584bef4289260fcb4792d6b6ca39e (diff) | |
download | gitlab-ce-1cf138170c17913b180e7b3d2840ca4439c618a1.tar.gz |
Add tooltip for comment toggle in diff. Add changelog item and fix tests
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/merge_requests.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb index 6e2f60972b6..6f6ce439f3e 100644 --- a/features/steps/project/merge_requests.rb +++ b/features/steps/project/merge_requests.rb @@ -209,13 +209,13 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps step 'I click link "Hide inline discussion" of the second file' do within '.files [id^=diff]:nth-child(2)' do - click_link 'Show/Hide comments' + find('.js-toggle-diff-comments').click end end step 'I click link "Show inline discussion" of the second file' do within '.files [id^=diff]:nth-child(2)' do - click_link 'Show/Hide comments' + find('.js-toggle-diff-comments').click end end |