diff --git a/plugins/woocommerce/changelog/fix-daily-and-pr-tests b/plugins/woocommerce/changelog/fix-daily-and-pr-tests new file mode 100644 index 00000000000..a44daa2eb9c --- /dev/null +++ b/plugins/woocommerce/changelog/fix-daily-and-pr-tests @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Fix for PR tests and daily tests diff --git a/plugins/woocommerce/tests/e2e-pw/global-setup.js b/plugins/woocommerce/tests/e2e-pw/global-setup.js index 3003372f419..a919e106f46 100644 --- a/plugins/woocommerce/tests/e2e-pw/global-setup.js +++ b/plugins/woocommerce/tests/e2e-pw/global-setup.js @@ -224,7 +224,7 @@ module.exports = async ( config ) => { } } - !process.env.BASE_URL || process.env.BASE_URL === 'localhost' && await site.useCartCheckoutShortcodes( baseURL, userAgent, admin ); + await site.useCartCheckoutShortcodes( baseURL, userAgent, admin ); await adminContext.close(); await customerContext.close();