diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-08-14 23:51:24 +0100 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2018-08-14 23:51:24 +0100 |
commit | 2cfa4f4888dd753d62a3f42cd02860828f1b0f56 (patch) | |
tree | 47f31a5adb29d9cf129c92eef4f5c33d9dfcef15 /spec/features/instance_statistics | |
parent | 401bcf043cb298fd074f94719dec263af2823bbd (diff) | |
download | gitlab-ce-2cfa4f4888dd753d62a3f42cd02860828f1b0f56.tar.gz |
Add test for usage ping js in cohorts_spec
Diffstat (limited to 'spec/features/instance_statistics')
-rw-r--r-- | spec/features/instance_statistics/cohorts_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/features/instance_statistics/cohorts_spec.rb b/spec/features/instance_statistics/cohorts_spec.rb index 81fc5eff980..573f8600be1 100644 --- a/spec/features/instance_statistics/cohorts_spec.rb +++ b/spec/features/instance_statistics/cohorts_spec.rb @@ -12,4 +12,12 @@ describe 'Cohorts page' do expect(page).to have_content("#{Time.now.strftime('%b %Y')} 3 0") end + + it 'shows usage data', :js do + visit instance_statistics_cohorts_path + + wait_for_requests + + expect(find('.js-syntax-highlight').text).not_to eq('') + end end |