summaryrefslogtreecommitdiff
path: root/spec/features/projects/tree
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-09-21 06:51:23 +0100
committerPhil Hughes <me@iamphill.com>2018-09-21 06:51:23 +0100
commitb328218a718155fe435ff51587a589d59bbfc4cc (patch)
treed373b4f7eeed691d74f67232a4550adb59202e01 /spec/features/projects/tree
parentb46ec15138ec23bde587bec872cfd10ead4a34ec (diff)
downloadgitlab-ce-b328218a718155fe435ff51587a589d59bbfc4cc.tar.gz
Updated specs to account for removed buttons
Diffstat (limited to 'spec/features/projects/tree')
-rw-r--r--spec/features/projects/tree/create_directory_spec.rb2
-rw-r--r--spec/features/projects/tree/create_file_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/tree/create_directory_spec.rb b/spec/features/projects/tree/create_directory_spec.rb
index 9e58280b868..2cb2a23b7be 100644
--- a/spec/features/projects/tree/create_directory_spec.rb
+++ b/spec/features/projects/tree/create_directory_spec.rb
@@ -43,7 +43,7 @@ describe 'Multi-file editor new directory', :js do
find('.js-ide-commit-mode').click
find('.multi-file-commit-list-item').hover
- first('.multi-file-discard-btn .btn').click
+ click_button 'Stage'
fill_in('commit-message', with: 'commit message ide')
diff --git a/spec/features/projects/tree/create_file_spec.rb b/spec/features/projects/tree/create_file_spec.rb
index a04d3566a7e..9f5524da8e9 100644
--- a/spec/features/projects/tree/create_file_spec.rb
+++ b/spec/features/projects/tree/create_file_spec.rb
@@ -35,7 +35,7 @@ describe 'Multi-file editor new file', :js do
find('.js-ide-commit-mode').click
find('.multi-file-commit-list-item').hover
- first('.multi-file-discard-btn .btn').click
+ click_button 'Stage'
fill_in('commit-message', with: 'commit message ide')