diff options
| author | Filipa Lacerda <filipa@gitlab.com> | 2018-07-04 17:10:37 +0000 |
|---|---|---|
| committer | Filipa Lacerda <filipa@gitlab.com> | 2018-07-04 17:10:37 +0000 |
| commit | 116955c4533497e68abbddbace2eae0a07c98569 (patch) | |
| tree | 8a3d10e7f6ac265d31da47ffe0c69f09c65c2f6b /spec/features | |
| parent | c0e50fdfc296777871f3cc2d417252f599f5fcfb (diff) | |
| parent | 01248876d2a74e3a5eee5a55908c687da3b9600e (diff) | |
| download | gitlab-ce-116955c4533497e68abbddbace2eae0a07c98569.tar.gz | |
Merge branch '45739-add-metrics-to-operations-tab' into 'master'
Resolve "Add Metrics to Operations Tab"
Closes #45739
See merge request gitlab-org/gitlab-ce!20025
Diffstat (limited to 'spec/features')
| -rw-r--r-- | spec/features/projects/user_uses_shortcuts_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/features/projects/user_uses_shortcuts_spec.rb b/spec/features/projects/user_uses_shortcuts_spec.rb index 495a010b32c..c8b3104b9fe 100644 --- a/spec/features/projects/user_uses_shortcuts_spec.rb +++ b/spec/features/projects/user_uses_shortcuts_spec.rb @@ -110,6 +110,14 @@ describe 'User uses shortcuts', :js do end context 'when navigating to the Operations pages' do + it 'redirects to the Metrics page' do + find('body').native.send_key('g') + find('body').native.send_key('l') + + expect(page).to have_active_navigation('Operations') + expect(page).to have_active_sub_navigation('Metrics') + end + it 'redirects to the Environments page' do find('body').native.send_key('g') find('body').native.send_key('e') |
