diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-19 00:09:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-19 00:09:28 +0300 |
commit | 7780dc4ee20cd6d2499f80965caa77441c7943ec (patch) | |
tree | 3a0feef0f3e7af03696b96dc322e9dc52c15a73a /spec/frontend/sidebar | |
parent | bced7d8bcc29bf5b75a03523e74a8e000c10371a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/sidebar')
-rw-r--r-- | spec/frontend/sidebar/components/time_tracking/time_tracker_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/sidebar/components/time_tracking/time_tracker_spec.js b/spec/frontend/sidebar/components/time_tracking/time_tracker_spec.js index f43fb17ca37..5dd54d4867e 100644 --- a/spec/frontend/sidebar/components/time_tracking/time_tracker_spec.js +++ b/spec/frontend/sidebar/components/time_tracking/time_tracker_spec.js @@ -120,11 +120,11 @@ describe('Issuable Time Tracker', () => { describe('Remaining meter', () => { it('should display the remaining meter with the correct width', () => { - expect(findTimeRemainingProgress().attributes('value')).toBe('5'); + expect(findTimeRemainingProgress().vm.$attrs.value).toBe(5); }); it('should display the remaining meter with the correct background color when within estimate', () => { - expect(findTimeRemainingProgress().attributes('variant')).toBe('primary'); + expect(findTimeRemainingProgress().vm.$attrs.variant).toBe('primary'); }); it('should display the remaining meter with the correct background color when over estimate', () => { @@ -138,7 +138,7 @@ describe('Issuable Time Tracker', () => { }, }); - expect(findTimeRemainingProgress().attributes('variant')).toBe('danger'); + expect(findTimeRemainingProgress().vm.$attrs.variant).toBe('danger'); }); }); }); |