Remove use of non-existent WithRegistrySetup.features
prop
#9115
Labels
P2
Low priority
Sp Wk 2
Issues to be completed in the second week of the assigned sprint
Team M
Issues for Squad 2
Type: Infrastructure
Engineering infrastructure & tooling
Feature Description
A number of stories have been implemented which pass the
features
prop to theWithRegistrySetup
component. However, the component doesn't have this prop and it's ignored.The stories are working as expected because the
features
prop is provided viaparameters
.For example:
site-kit-wp/assets/js/modules/ads/components/settings/SettingsEdit.stories.js
Lines 99 to 123 in e112780
Note how
WithRegistrySetup
doesn't have thefeatures
prop:site-kit-wp/tests/js/WithRegistrySetup.js
Line 35 in e112780
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
WithRegistrySetup
should not attempt to pass thefeatures
prop to it.Implementation Brief
features
prop from the use ofWithRegistrySetup
:site-kit-wp/assets/js/components/conversion-tracking/ConversionTrackingToggle.stories.js
Line 62 in 798b43c
site-kit-wp/assets/js/components/conversion-tracking/ConversionTrackingToggle.stories.js
Line 96 in 798b43c
site-kit-wp/assets/js/modules/ads/components/settings/SettingsEdit.stories.js
Line 117 in 798b43c
site-kit-wp/assets/js/modules/ads/components/settings/SettingsEdit.stories.js
Line 147 in 798b43c
site-kit-wp/assets/js/modules/ads/components/settings/SettingsEdit.stories.js
Line 177 in 798b43c
site-kit-wp/assets/js/modules/analytics-4/components/settings/SettingsForm.stories.js
Line 240 in 798b43c
Test Coverage
QA Brief
Refer the storybook and ensure that following stories are rendering properly and as expected.
Changelog entry
features
prop in stories using theWithRegistrySetup
component.The text was updated successfully, but these errors were encountered: