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:
Diffstat (limited to 'spec/frontend/monitoring/components')
-rw-r--r--spec/frontend/monitoring/components/__snapshots__/dashboard_template_spec.js.snap2
-rw-r--r--spec/frontend/monitoring/components/graph_group_spec.js18
2 files changed, 10 insertions, 10 deletions
diff --git a/spec/frontend/monitoring/components/__snapshots__/dashboard_template_spec.js.snap b/spec/frontend/monitoring/components/__snapshots__/dashboard_template_spec.js.snap
index a93035cc53a..a9f37f90561 100644
--- a/spec/frontend/monitoring/components/__snapshots__/dashboard_template_spec.js.snap
+++ b/spec/frontend/monitoring/components/__snapshots__/dashboard_template_spec.js.snap
@@ -151,7 +151,7 @@ exports[`Dashboard template matches the default snapshot 1`] = `
emptynodatasvgpath="/images/illustrations/monitoring/no_data.svg"
emptyunabletoconnectsvgpath="/images/illustrations/monitoring/unable_to_connect.svg"
selectedstate="gettingStarted"
- settingspath="/monitoring/monitor-project/-/integrations/prometheus/edit"
+ settingspath="/monitoring/monitor-project/-/settings/integrations/prometheus/edit"
/>
</div>
`;
diff --git a/spec/frontend/monitoring/components/graph_group_spec.js b/spec/frontend/monitoring/components/graph_group_spec.js
index c5b45564089..31f52f6627b 100644
--- a/spec/frontend/monitoring/components/graph_group_spec.js
+++ b/spec/frontend/monitoring/components/graph_group_spec.js
@@ -34,17 +34,17 @@ describe('Graph group component', () => {
expect(findLoadingIcon().exists()).toBe(false);
});
- it('should show the angle-down caret icon', () => {
+ it('should show the chevron-lg-down caret icon', () => {
expect(findContent().isVisible()).toBe(true);
- expect(findCaretIcon().props('name')).toBe('angle-down');
+ expect(findCaretIcon().props('name')).toBe('chevron-lg-down');
});
- it('should show the angle-right caret icon when the user collapses the group', async () => {
+ it('should show the chevron-lg-right caret icon when the user collapses the group', async () => {
findToggleButton().trigger('click');
await nextTick();
expect(findContent().isVisible()).toBe(false);
- expect(findCaretIcon().props('name')).toBe('angle-right');
+ expect(findCaretIcon().props('name')).toBe('chevron-lg-right');
});
it('should contain a tab index for the collapse button', () => {
@@ -60,7 +60,7 @@ describe('Graph group component', () => {
await nextTick();
expect(findContent().isVisible()).toBe(true);
- expect(findCaretIcon().props('name')).toBe('angle-down');
+ expect(findCaretIcon().props('name')).toBe('chevron-lg-down');
});
});
@@ -72,15 +72,15 @@ describe('Graph group component', () => {
});
});
- it('should show the angle-down caret icon when collapseGroup is true', () => {
- expect(findCaretIcon().props('name')).toBe('angle-right');
+ it('should show the chevron-lg-down caret icon when collapseGroup is true', () => {
+ expect(findCaretIcon().props('name')).toBe('chevron-lg-right');
});
- it('should show the angle-right caret icon when collapseGroup is false', async () => {
+ it('should show the chevron-lg-right caret icon when collapseGroup is false', async () => {
findToggleButton().trigger('click');
await nextTick();
- expect(findCaretIcon().props('name')).toBe('angle-down');
+ expect(findCaretIcon().props('name')).toBe('chevron-lg-down');
});
it('should call collapse the graph group content when enter is pressed on the caret icon', () => {