diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-28 05:39:11 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-28 05:39:11 +0300 |
commit | 5c52eaa9d266ec201cf6558eef9efa5c3d8f939e (patch) | |
tree | b2bc7118a7d9c77c4b12d004c59a82f0653d6284 /features | |
parent | 13f2ab3e3dabae9fe5013fc6d32d246b534df991 (diff) |
Persist current merge request tab selection via URL
Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2350
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/merge_requests.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb index 92de94a75d3..48bb316e203 100644 --- a/features/steps/project/merge_requests.rb +++ b/features/steps/project/merge_requests.rb @@ -113,7 +113,10 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps end step 'I click on the Changes tab via Javascript' do - find('.diffs-tab').click + within '.merge-request-tabs' do + click_link 'Changes' + end + sleep 2 end |