fix race condition when visiting file blob of recently triggered file upload
This commit is contained in:
parent
56025c7e6b
commit
31c8fb987d
1 changed files with 3 additions and 2 deletions
|
@ -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'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue