Skip to content
Snippets Groups Projects
Unverified Commit b5e10cd3 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre Committed by Yorick Peterse
Browse files

Merge branch '56860-fix-spec-race-condition-upside-the-head' into 'master'

Fix a JS race in a spec

Closes #56860

See merge request gitlab-org/gitlab-ce!24684
parent cfd9f688
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -15,6 +15,9 @@
let(:project) { create(:project, :repository, namespace: user.namespace) }
 
it 'allows to change the default branch', :js do
# Otherwise, running JS may overwrite our change to project_default_branch
wait_for_requests
select2('fix', from: '#project_default_branch')
 
page.within '#default-branch-settings' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment