Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
31c8fb98
Commit
31c8fb98
authored
Oct 10, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix race condition when visiting file blob of recently triggered file upload
parent
56025c7e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
spec/features/projects/user_browses_files_spec.rb
spec/features/projects/user_browses_files_spec.rb
+3
-2
No files found.
spec/features/projects/user_browses_files_spec.rb
View file @
31c8fb98
...
@@ -175,10 +175,11 @@ describe 'User browses files' do
...
@@ -175,10 +175,11 @@ describe 'User browses files' do
page
.
within
(
'#modal-upload-blob'
)
do
page
.
within
(
'#modal-upload-blob'
)
do
fill_in
(
:commit_message
,
with:
'New commit message'
)
fill_in
(
:commit_message
,
with:
'New commit message'
)
end
fill_in
(
:branch_name
,
with:
'new_branch_name'
,
visible:
true
)
fill_in
(
:branch_name
,
with:
'new_branch_name'
,
visible:
true
)
click_button
(
'Upload file'
)
click_button
(
'Upload file'
)
end
block_and_wait_for_requests_complete
visit
(
project_blob_path
(
project
,
'new_branch_name/logo_sample.svg'
))
visit
(
project_blob_path
(
project
,
'new_branch_name/logo_sample.svg'
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment