Commit 31c8fb98 authored by Mike Greiling's avatar Mike Greiling

fix race condition when visiting file blob of recently triggered file upload

parent 56025c7e
......@@ -175,10 +175,11 @@ describe 'User browses files' do
page.within('#modal-upload-blob') do
fill_in(:commit_message, with: 'New commit message')
fill_in(:branch_name, with: 'new_branch_name', visible: true)
click_button('Upload file')
end
fill_in(:branch_name, with: 'new_branch_name', visible: true)
click_button('Upload file')
block_and_wait_for_requests_complete
visit(project_blob_path(project, 'new_branch_name/logo_sample.svg'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment