Commit 8fca4b2d authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'remove-context-from-feature-flag-snowplow-events' into 'master'

Remove Context from Feature Flag Snowplow Events

See merge request gitlab-org/gitlab!41791
parents e656f823 a796bb66
......@@ -155,7 +155,6 @@ export default {
data-testid="feature-flag-status-toggle"
data-track-event="click_button"
data-track-label="feature_flag_toggle"
data-track-context="feature_flag_activity"
class="gl-mr-4"
@change="toggleActive"
/>
......
......@@ -161,7 +161,6 @@ export default {
data-testid="feature-flag-status-toggle"
data-track-event="click_button"
data-track-label="feature_flag_toggle"
data-track-context="feature_flag_activity"
@change="toggleFeatureFlag(featureFlag)"
/>
<gl-badge
......
......@@ -162,7 +162,6 @@ describe('Edit feature flag form', () => {
expect(spy).toHaveBeenCalledWith('_category_', 'click_button', {
label: 'feature_flag_toggle',
context: 'feature_flag_activity',
});
});
});
......
......@@ -145,7 +145,6 @@ describe('Feature flag table', () => {
toggle.trigger('click');
expect(spy).toHaveBeenCalledWith('_category_', 'click_button', {
context: 'feature_flag_activity',
label: 'feature_flag_toggle',
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment