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
3d045ea8
Commit
3d045ea8
authored
Aug 15, 2019
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix quarantined spec by waiting for requests
parent
df35d772
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
spec/features/projects/files/user_browses_a_tree_with_a_folder_containing_only_a_folder_spec.rb
...ses_a_tree_with_a_folder_containing_only_a_folder_spec.rb
+2
-5
No files found.
spec/features/projects/files/user_browses_a_tree_with_a_folder_containing_only_a_folder_spec.rb
View file @
3d045ea8
...
...
@@ -3,18 +3,15 @@
require
'spec_helper'
# This is a regression test for https://gitlab.com/gitlab-org/gitlab-ce/issues/37569
# Quarantine: https://gitlab.com/gitlab-org/gitlab-ce/issues/65329
describe
'Projects > Files > User browses a tree with a folder containing only a folder'
,
:quarantine
do
describe
'Projects > Files > User browses a tree with a folder containing only a folder'
,
:js
do
let
(
:project
)
{
create
(
:project
,
:empty_repo
)
}
let
(
:user
)
{
project
.
owner
}
before
do
# We need to disable the tree.flat_path provided by Gitaly to reproduce the issue
allow
(
Gitlab
::
GitalyClient
).
to
receive
(
:feature_enabled?
).
and_return
(
false
)
project
.
repository
.
create_dir
(
user
,
'foo/bar'
,
branch_name:
'master'
,
message:
'Add the foo/bar folder'
)
sign_in
(
user
)
visit
(
project_tree_path
(
project
,
project
.
repository
.
root_ref
))
wait_for_requests
end
it
'shows the nested folder on a single row'
do
...
...
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