diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-08 19:54:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-08 19:54:12 +0300 |
commit | 9104dda057cc7f2c65f07e509013f3cff10db590 (patch) | |
tree | 74af16bfb1bc2afc23fb385727fda39b0f211862 /spec/features | |
parent | 2b77b43bec240eb5ed2c5422eb810df5eb8edfcc (diff) |
Add latest changes from gitlab-org/gitlab@14-7-stable-ee
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/admin/dashboard_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/features/admin/dashboard_spec.rb b/spec/features/admin/dashboard_spec.rb index 112dc9e01d8..e7ff8c23a8c 100644 --- a/spec/features/admin/dashboard_spec.rb +++ b/spec/features/admin/dashboard_spec.rb @@ -53,4 +53,14 @@ RSpec.describe 'admin visits dashboard' do expect(page).to have_content('Active users 71') end end + + describe 'Version check', :js do + it 'shows badge on CE' do + visit admin_root_path + + page.within('.admin-dashboard') do + expect(find('.badge')).to have_content('Up to date') + end + end + end end |