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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-06 15:08:38 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-06 15:08:38 +0300
commit6ab9cdec264a9caf7e4eb5519fcae5ac65a18b15 (patch)
tree28afca02f01c1b9d22a5e4227521a575fae57bea /spec/frontend/vue_shared/components/alert_details_table_spec.js
parent497d517e130ac88cbdee69c4c9e88938e164fc52 (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.js2
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', () => {