diff options
author | Sean McGivern <sean@gitlab.com> | 2018-12-20 14:50:41 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-12-20 14:50:41 +0300 |
commit | 8b32eb6477bcabf5e15885579ae5c43a41b508de (patch) | |
tree | 37256537155fabf2f01fb1da282f060bab620b2e /spec/features | |
parent | 37c934e089508e053e6ad4cf075b00cfaab53f3c (diff) | |
parent | 26c740715013a38629011df51e6cf07b3cf12f34 (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.rb | 6 |
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 |