diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-26 18:09:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-26 18:09:04 +0300 |
commit | ee24c7d68f57a67754a5d1e2ea99f688029d14bd (patch) | |
tree | 8391744a26dd3f77c4bb1bbb55672ba0e066d969 /spec/frontend/invite_members/components | |
parent | a1c0b634f78f51389fd3ec390a1803afa3de49a2 (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_modal_base_spec.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/frontend/invite_members/components/invite_modal_base_spec.js b/spec/frontend/invite_members/components/invite_modal_base_spec.js index e1b90332f6c..4c7022c8684 100644 --- a/spec/frontend/invite_members/components/invite_modal_base_spec.js +++ b/spec/frontend/invite_members/components/invite_modal_base_spec.js @@ -18,6 +18,7 @@ import { INVITE_BUTTON_TEXT_DISABLED, INVITE_BUTTON_TEXT, ON_SHOW_TRACK_LABEL, + ON_CELEBRATION_TRACK_LABEL, } from '~/invite_members/constants'; import { propsData, membersPath, purchasePath } from '../mock_data/modal_base'; @@ -237,16 +238,16 @@ describe('InviteModalBase', () => { const mockEvent = { preventDefault: jest.fn() }; modal.vm.$emit('shown'); - expectTracking('render'); + expectTracking('render', ON_CELEBRATION_TRACK_LABEL); modal.vm.$emit('primary', mockEvent); - expectTracking('click_invite'); + expectTracking('click_invite', ON_CELEBRATION_TRACK_LABEL); modal.vm.$emit('cancel', mockEvent); - expectTracking('click_cancel'); + expectTracking('click_cancel', ON_CELEBRATION_TRACK_LABEL); modal.vm.$emit('close'); - expectTracking('click_x'); + expectTracking('click_x', ON_CELEBRATION_TRACK_LABEL); unmockTracking(); }); |