diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2018-05-22 21:08:16 +0000 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2018-05-22 21:08:16 +0000 |
commit | 76e276cb433a7023cf8154f9d9555725b3b11e67 (patch) | |
tree | 1a456a96d5dcdf0abacbfffe4438bad8d515c0f5 /spec/features | |
parent | 4c63e904ec9118f44b83496867d9e3cc0d3082c1 (diff) | |
parent | add9defa05179865ee5460fd4bbd67cac9e23f53 (diff) | |
download | gitlab-ce-76e276cb433a7023cf8154f9d9555725b3b11e67.tar.gz |
Merge branch '44895-explicit-merge-conflict' into 'master'
Resolve "Make explicit that merge conflict feature commits to source branch"
Closes #44895
See merge request gitlab-org/gitlab-ce!18921
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/merge_request/user_resolves_conflicts_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/merge_request/user_resolves_conflicts_spec.rb b/spec/features/merge_request/user_resolves_conflicts_spec.rb index 19995559fae..25a57f7d379 100644 --- a/spec/features/merge_request/user_resolves_conflicts_spec.rb +++ b/spec/features/merge_request/user_resolves_conflicts_spec.rb @@ -27,7 +27,7 @@ describe 'Merge request > User resolves conflicts', :js do end end - find_button('Commit conflict resolution').send_keys(:return) + find_button('Commit to source branch').send_keys(:return) expect(page).to have_content('All merge conflicts were resolved') merge_request.reload_diff @@ -71,7 +71,7 @@ describe 'Merge request > User resolves conflicts', :js do execute_script('ace.edit($(".files-wrapper .diff-file pre")[1]).setValue("Gregor Samsa woke from troubled dreams");') end - find_button('Commit conflict resolution').send_keys(:return) + find_button('Commit to source branch').send_keys(:return) expect(page).to have_content('All merge conflicts were resolved') merge_request.reload_diff @@ -145,7 +145,7 @@ describe 'Merge request > User resolves conflicts', :js do execute_script('ace.edit($(".files-wrapper .diff-file pre")[0]).setValue("Gregor Samsa woke from troubled dreams");') end - click_button 'Commit conflict resolution' + click_button 'Commit to source branch' expect(page).to have_content('All merge conflicts were resolved') |