Fix K6 performance tests with LYS feature turned on (#46539)
* Set woocommerce_coming_soon option to no when setting up performance E2E * Changelog
This commit is contained in:
parent
5bcbb52a9b
commit
395a70756a
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: fix
|
||||||
|
|
||||||
|
Fix K6 test with coming soon feature flag enabled
|
|
@ -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_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 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 --format=json woocommerce_cod_settings '{"enabled":"yes"}'
|
||||||
|
wp-env run tests-cli wp option set woocommerce_coming_soon 'no'
|
||||||
|
|
||||||
# WooCommerce shop pages
|
# WooCommerce shop pages
|
||||||
wp-env run tests-cli wp wc --user=admin tool run install_pages
|
wp-env run tests-cli wp wc --user=admin tool run install_pages
|
||||||
|
|
Loading…
Reference in New Issue