Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-12-20 14:50:41 +0300
committerSean McGivern <sean@gitlab.com>2018-12-20 14:50:41 +0300
commit8b32eb6477bcabf5e15885579ae5c43a41b508de (patch)
tree37256537155fabf2f01fb1da282f060bab620b2e /spec/features
parent37c934e089508e053e6ad4cf075b00cfaab53f3c (diff)
parent26c740715013a38629011df51e6cf07b3cf12f34 (diff)
Merge branch '55359-add-tests-for-redesign-projects-lists-ui' into 'master'
Resolve "Add tests for "Redesign projects lists UI"" Closes #55359 See merge request gitlab-org/gitlab-ce!23915
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/users/overview_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/features/users/overview_spec.rb b/spec/features/users/overview_spec.rb
index 34ed771340f..873de85708a 100644
--- a/spec/features/users/overview_spec.rb
+++ b/spec/features/users/overview_spec.rb
@@ -119,6 +119,12 @@ describe 'Overview tab on a user profile', :js do
it 'shows a link to the project list' do
expect(find('#js-overview .projects-block')).to have_selector('.js-view-all', visible: true)
end
+
+ it 'shows projects in "compact mode"' do
+ page.within('#js-overview .projects-block') do
+ expect(find('.js-projects-list-holder')).to have_selector('.compact')
+ end
+ end
end
describe 'user has more than ten personal projects' do