Quarantined spec: spec/features/projects/files/user_browses_a_tree_with_a_folder_containing_only_a_folder_spec.rb
In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31241 I added a cop that fixed several spec files not being executed. One of those was spec/features/projects/files/user_browses_a_tree_with_a_folder_containing_only_a_folder_spec.rb
(Previously this didn't have the trailing _spec, so that link might not work right now.)
This spec came from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14119 and https://gitlab.com/gitlab-org/gitlab-ce/issues/37569, but fails when it's actually run:
Failures:
1) Projects > Files > User browses a tree with a folder containing only a folder shows the nested folder on a single row
Failure/Error: expect(page).to have_content('foo/bar')
expected to find text "foo/bar" in "Skip to content Projects Your projects Starred projects Explore projects Groups Your groups Explore groups Activity Milestones Snippets More Activity Milestones Snippets Environments Operations Instance Statistics Projects This project New issue New merge request New snippet GitLab New project New group New snippet Loading... Go 0 0 0 Help Submit feedback John Doe2 @namespace1 Profile Settings Sign out Toggle navigation P project1 Project Project Details Activity Releases Cycle Analytics Repository Repository Files Commits Branches Tags Contributors Graph Compare Charts Locked Files Issues 0 Issues 0 List Boards Labels Milestones Merge Requests 0 Merge Requests 0 CI / CD CI / CD Pipelines Jobs Schedules Charts Operations Operations Metrics Environments Error Tracking Serverless Kubernetes Allows you to add and manage Kubernetes clusters. Protip: Auto DevOps uses Kubernetes clusters to deploy your code! Got it! Wiki Wiki Snippets Snippets Settings Settings General Members Integrations Repository CI / CD Operations Audit Events Collapse sidebar Close sidebar Activity Graph Charts Create a new issue Jobs Commits Issue Boards Open sidebar John Doe2 project1 Repository master Switch branch/tag History Find file Web IDE Select Archive Format Download source code zip tar.gz tar.bz2 tar Upload New File × Attach a file by drag & drop or click to upload Commit message Upload New File Target Branch Start a new merge request with these changes Upload file Cancel Create New Directory × Directory name Commit message Add new directory Target Branch Start a new merge request with these changes Cancel"
# ./spec/features/projects/files/user_browses_a_tree_with_a_folder_containing_only_a_folder_spec.rb:20:in `block (2 levels) in <main>'
# -e:1:in `<main>'
@DouweM @jramsay it would be good to figure out if this spec is still needed, and if so, how we can make it pass.