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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
72c3df79
Commit
72c3df79
authored
Aug 16, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
2b5a0b0c
0b3fbffa
Changes
1
Hide 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 @
72c3df79
...
...
@@ -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