diff options
author | Martin Wortschack <mwortschack@gitlab.com> | 2019-01-02 12:58:27 +0300 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-01-02 12:58:27 +0300 |
commit | 86b6053867383594a6a2a4eeaaf59529aa3c19fc (patch) | |
tree | 1560ce91653b7f3568d8e950094f81bcb327d647 /spec/features | |
parent | dab5eaf8da36e1094dbd10691acce119d6d77233 (diff) |
Resolve "User activity is stuck loading when there is none"
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/users/overview_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/features/users/overview_spec.rb b/spec/features/users/overview_spec.rb index 873de85708a..8748230fa0c 100644 --- a/spec/features/users/overview_spec.rb +++ b/spec/features/users/overview_spec.rb @@ -33,6 +33,8 @@ describe 'Overview tab on a user profile', :js do it 'does not show any entries in the list of activities' do page.within('.activities-block') do + expect(page).to have_selector('.loading', visible: false) + expect(page).to have_content('No activities found') expect(page).not_to have_selector('.event-item') end end @@ -93,6 +95,7 @@ describe 'Overview tab on a user profile', :js do it 'it shows an empty project list with an info message' do page.within('.projects-block') do + expect(page).to have_selector('.loading', visible: false) expect(page).to have_content('No projects found') expect(page).not_to have_selector('.project-row') end |