[e2e tests] Disable woocommerce_coming_soon during test environment setup (#47024)

* Disable woocommerce_coming_soon in test env setup

* Disable woocommerce_coming_soon in test env setup

* Add changelog
This commit is contained in:
Adrian Moldovan 2024-04-29 20:27:18 +03:00 committed by GitHub
parent 9ff383e703
commit e36baab4fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
E2E tests: disable woocommerce_coming_soon during test environment setup

View File

@ -38,5 +38,8 @@ if [ $ENABLE_TRACKING == 1 ]; then
wp-env run tests-cli wp option update woocommerce_allow_tracking 'yes'
fi
echo -e 'Disabling coming soon option\n'
wp-env run tests-cli wp option update woocommerce_coming_soon 'no'
echo -e 'Upload test images \n'
wp-env run tests-cli wp media import './test-data/images/image-01.png' './test-data/images/image-02.png' './test-data/images/image-03.png'