diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-06 15:08:38 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-06 15:08:38 +0300 |
commit | 6ab9cdec264a9caf7e4eb5519fcae5ac65a18b15 (patch) | |
tree | 28afca02f01c1b9d22a5e4227521a575fae57bea /spec/frontend/vue_shared/components/alert_details_table_spec.js | |
parent | 497d517e130ac88cbdee69c4c9e88938e164fc52 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/vue_shared/components/alert_details_table_spec.js')
-rw-r--r-- | spec/frontend/vue_shared/components/alert_details_table_spec.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/frontend/vue_shared/components/alert_details_table_spec.js b/spec/frontend/vue_shared/components/alert_details_table_spec.js index dbdb7705d3c..2bc599bcf79 100644 --- a/spec/frontend/vue_shared/components/alert_details_table_spec.js +++ b/spec/frontend/vue_shared/components/alert_details_table_spec.js @@ -14,6 +14,7 @@ const mockAlert = { assignees: { nodes: [] }, notes: { nodes: [] }, todos: { nodes: [] }, + hosts: ['host1', 'host2'], __typename: 'AlertManagementAlert', }; @@ -83,6 +84,7 @@ describe('AlertDetails', () => { expect(findTableField(fields, 'Severity').exists()).toBe(true); expect(findTableField(fields, 'Status').exists()).toBe(true); expect(findTableField(fields, 'Environment').exists()).toBe(true); + expect(findTableField(fields, 'Hosts').exists()).toBe(true); }); it('should not show disallowed alert fields', () => { |