Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: dev

E2E tests: disable woocommerce_coming_soon during test environment setup
3 changes: 3 additions & 0 deletions plugins/woocommerce/tests/e2e-pw/bin/test-env-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'