diff options
Diffstat (limited to 'spec/features/ide/user_opens_merge_request_spec.rb')
-rw-r--r-- | spec/features/ide/user_opens_merge_request_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/features/ide/user_opens_merge_request_spec.rb b/spec/features/ide/user_opens_merge_request_spec.rb index 1d3cada57db..a8a56ffe310 100644 --- a/spec/features/ide/user_opens_merge_request_spec.rb +++ b/spec/features/ide/user_opens_merge_request_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' RSpec.describe 'IDE merge request', :js, feature_category: :web_ide do - let_it_be(:user) { create(:user, :no_super_sidebar) } + let_it_be(:user) { create(:user) } let_it_be(:project) { create(:project, :public, :repository, namespace: user.namespace) } let_it_be(:merge_request) { create(:merge_request, :simple, source_project: project) } @@ -16,7 +16,9 @@ RSpec.describe 'IDE merge request', :js, feature_category: :web_ide do end it 'user opens merge request' do - click_button 'Code' + within '.merge-request' do + click_button 'Code' + end click_link 'Open in Web IDE' wait_for_requests |