diff --git a/plugins/woocommerce/changelog/fix-k6-tests-lys-default-coming-soon-no b/plugins/woocommerce/changelog/fix-k6-tests-lys-default-coming-soon-no new file mode 100644 index 00000000000..b541fc61544 --- /dev/null +++ b/plugins/woocommerce/changelog/fix-k6-tests-lys-default-coming-soon-no @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Fix K6 test with coming soon feature flag enabled diff --git a/plugins/woocommerce/tests/performance/bin/init-sample-products.sh b/plugins/woocommerce/tests/performance/bin/init-sample-products.sh index 43642604361..dfa3db34cf5 100755 --- a/plugins/woocommerce/tests/performance/bin/init-sample-products.sh +++ b/plugins/woocommerce/tests/performance/bin/init-sample-products.sh @@ -22,6 +22,7 @@ wp-env run tests-cli wp option set woocommerce_product_type 'both' wp-env run tests-cli wp option set woocommerce_allow_tracking 'no' wp-env run tests-cli wp option set woocommerce_enable_checkout_login_reminder 'yes' wp-env run tests-cli wp option set --format=json woocommerce_cod_settings '{"enabled":"yes"}' +wp-env run tests-cli wp option set woocommerce_coming_soon 'no' # WooCommerce shop pages wp-env run tests-cli wp wc --user=admin tool run install_pages