diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-03 18:12:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-03 18:12:58 +0300 |
commit | 27a5080c34c64a84219d855d652b994c5e344a0a (patch) | |
tree | 1f6bcb68378e4965b4e93a846d8a939af18aeec6 /spec/frontend/monitoring | |
parent | 2c01907a1ab4b328e2f20ddf9e10dfe6dc17105a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/monitoring')
-rw-r--r-- | spec/frontend/monitoring/components/dashboard_actions_menu_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/monitoring/components/dashboard_actions_menu_spec.js b/spec/frontend/monitoring/components/dashboard_actions_menu_spec.js index 2758103fd6e..c54acf3cbee 100644 --- a/spec/frontend/monitoring/components/dashboard_actions_menu_spec.js +++ b/spec/frontend/monitoring/components/dashboard_actions_menu_spec.js @@ -319,7 +319,7 @@ describe('Actions menu', () => { await nextTick(); expect(findStarDashboardItem().exists()).toBe(true); - expect(findStarDashboardItem().attributes('disabled')).toBe('true'); + expect(findStarDashboardItem().attributes('disabled')).toBeDefined(); }); it('on click it dispatches a toggle star action', async () => { @@ -365,7 +365,7 @@ describe('Actions menu', () => { }); it('is rendered by default but it is disabled', () => { - expect(findCreateDashboardItem().attributes('disabled')).toBe('true'); + expect(findCreateDashboardItem().attributes('disabled')).toBeDefined(); }); describe('when project path is set', () => { @@ -410,7 +410,7 @@ describe('Actions menu', () => { }); it('is disabled', () => { - expect(findCreateDashboardItem().attributes('disabled')).toBe('true'); + expect(findCreateDashboardItem().attributes('disabled')).toBeDefined(); }); it('does not render a modal for creating a dashboard', () => { |