diff options
author | Rubén Dávila <Ruben@GitLab.com> | 2015-12-22 06:59:15 +0300 |
---|---|---|
committer | Rubén Dávila <Ruben@GitLab.com> | 2015-12-22 06:59:15 +0300 |
commit | 42da7cd375a615d0ba092495981682bafdb99b47 (patch) | |
tree | e1a50b71140969c7aa01d2c217a4eca854d8c566 /features/steps/project/merge_requests | |
parent | 25bf3eb8041be93d9003d2cac1323f4d18d317ec (diff) |
Fix redirect to wrong URL when merging and MR detail URL has an anchor. #4189
Diffstat (limited to 'features/steps/project/merge_requests')
-rw-r--r-- | features/steps/project/merge_requests/acceptance.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/project/merge_requests/acceptance.rb b/features/steps/project/merge_requests/acceptance.rb index 383c055c4ef..2685f5fd6b4 100644 --- a/features/steps/project/merge_requests/acceptance.rb +++ b/features/steps/project/merge_requests/acceptance.rb @@ -6,6 +6,10 @@ class Spinach::Features::ProjectMergeRequestsAcceptance < Spinach::FeatureSteps visit merge_request_path(@merge_request) end + step 'I am on the Merge Request detail with note anchor page' do + visit merge_request_path(@merge_request, anchor: 'note_123') + end + step 'I click on "Remove source branch" option' do check('Remove source branch') end |