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
path: root/spec
diff options
context:
space:
mode:
authorMartin Wortschack <mwortschack@gitlab.com>2019-01-02 12:58:27 +0300
committerKushal Pandya <kushalspandya@gmail.com>2019-01-02 12:58:27 +0300
commit86b6053867383594a6a2a4eeaaf59529aa3c19fc (patch)
tree1560ce91653b7f3568d8e950094f81bcb327d647 /spec
parentdab5eaf8da36e1094dbd10691acce119d6d77233 (diff)
Resolve "User activity is stuck loading when there is none"
Diffstat (limited to 'spec')
-rw-r--r--spec/features/users/overview_spec.rb3
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