diff --git a/spec/features/projects/tree/create_directory_spec.rb b/spec/features/projects/tree/create_directory_spec.rb index 86b01c64233..3017048e506 100644 --- a/spec/features/projects/tree/create_directory_spec.rb +++ b/spec/features/projects/tree/create_directory_spec.rb @@ -46,6 +46,7 @@ feature '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 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 ccde291e92b..56471c8e7aa 100644 --- a/spec/features/projects/tree/create_file_spec.rb +++ b/spec/features/projects/tree/create_file_spec.rb @@ -36,6 +36,7 @@ feature '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 fill_in('commit-message', with: 'commit message ide')