diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-05-03 01:23:48 +0300 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2018-05-03 01:23:48 +0300 |
commit | 244f511eece07e906ec82bebf3ccb2f69a15ea92 (patch) | |
tree | 05fbe11c6e843c5444b2802bd1ec3d5e5f97ec39 /spec/support/shared_examples/features/creatable_merge_request_shared_examples.rb | |
parent | 8bf030722dee9904e9b29bfd14c0099be9179b92 (diff) |
Load branches on new merge request page asynchronously
Diffstat (limited to 'spec/support/shared_examples/features/creatable_merge_request_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/features/creatable_merge_request_shared_examples.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared_examples/features/creatable_merge_request_shared_examples.rb b/spec/support/shared_examples/features/creatable_merge_request_shared_examples.rb index 5b0b609f7f2..5a569d233bc 100644 --- a/spec/support/shared_examples/features/creatable_merge_request_shared_examples.rb +++ b/spec/support/shared_examples/features/creatable_merge_request_shared_examples.rb @@ -79,7 +79,7 @@ RSpec.shared_examples 'a creatable merge request' do end end - it 'updates the branches when selecting a new target project' do + it 'updates the branches when selecting a new target project', :js do target_project_member = target_project.owner CreateBranchService.new(target_project, target_project_member) .execute('a-brand-new-branch-to-test', 'master') @@ -92,7 +92,7 @@ RSpec.shared_examples 'a creatable merge request' do first('.js-target-branch').click - within('.dropdown-target-branch .dropdown-content') do + within('.js-target-branch-dropdown .dropdown-content') do expect(page).to have_content('a-brand-new-branch-to-test') end end |