summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorMark Lapierre <mlapierre@gitlab.com>2019-08-27 14:14:02 +1000
committerMark Lapierre <mlapierre@gitlab.com>2019-08-28 11:12:39 +1000
commite3569c70b9f65b6267a565f521daec5c2f8ee987 (patch)
tree21f762da3044332fd27aa39d12bba0dcd7ba400c /qa
parent6308c0ab0f7f4001bb644071495811120b5be5e3 (diff)
downloadgitlab-ce-e3569c70b9f65b6267a565f521daec5c2f8ee987.tar.gz
Commit to current branch by defaultqa-ml-web-ide-commit-to-current-branch
When using the Web IDE
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/web_ide/edit.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/qa/qa/page/project/web_ide/edit.rb b/qa/qa/page/project/web_ide/edit.rb
index 37bca97fec7..7541baed467 100644
--- a/qa/qa/page/project/web_ide/edit.rb
+++ b/qa/qa/page/project/web_ide/edit.rb
@@ -34,6 +34,10 @@ module QA
element :dropdown_filter_input
end
+ view 'app/assets/javascripts/ide/components/commit_sidebar/actions.vue' do
+ element :commit_to_current_branch_radio
+ end
+
view 'app/assets/javascripts/ide/components/commit_sidebar/form.vue' do
element :begin_commit_button
element :commit_button
@@ -104,7 +108,7 @@ module QA
# animation is still in process even when the buttons have the
# expected visibility.
commit_success_msg_shown = retry_until do
- uncheck_element :start_new_mr_checkbox
+ click_element :commit_to_current_branch_radio
click_element :commit_button
wait(reload: false) do