diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-28 06:10:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-28 06:10:02 +0300 |
commit | 6078d7becc4a0d70aafc4a3934a70b8cf2b3775e (patch) | |
tree | 559eacec9bf595379af871df24c48f957e7dd0bd /spec/frontend/invite_members/components | |
parent | 7e0c60c6262353033f2768137866515c5257c2f7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/invite_members/components')
-rw-r--r-- | spec/frontend/invite_members/components/invite_members_trigger_spec.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/frontend/invite_members/components/invite_members_trigger_spec.js b/spec/frontend/invite_members/components/invite_members_trigger_spec.js index e5af38d6ed8..c42e497decc 100644 --- a/spec/frontend/invite_members/components/invite_members_trigger_spec.js +++ b/spec/frontend/invite_members/components/invite_members_trigger_spec.js @@ -103,22 +103,6 @@ describe.each(triggerItems)('with triggerElement as %s', (triggerItem) => { }); }); }); - - describe('tracking', () => { - it('does not add tracking attributes', () => { - createComponent(); - - expect(findButton().attributes('data-track-action')).toBeUndefined(); - expect(findButton().attributes('data-track-label')).toBeUndefined(); - }); - - it('adds tracking attributes', () => { - createComponent({ label: '_label_', event: '_event_' }); - - expect(findButton().attributes('data-track-action')).toBe('_event_'); - expect(findButton().attributes('data-track-label')).toBe('_label_'); - }); - }); }); describe('side-nav with icon', () => { |