Commit a796bb66 authored by Andrew Fontaine's avatar Andrew Fontaine

Remove Context from Feature Flag Snowplow Events

These are fine as defaults and actively broken if included.
parent 95a1e91c
......@@ -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