Commit Graph

38662 Commits

Author SHA1 Message Date
Claudio Sanches ef61092ebd
Merge pull request #29771 from woocommerce/update/woocommerce-dev-version
Update version to 5.4.0-dev in woocommerce.php
2021-04-26 16:50:39 -03:00
Jonathan Sadowski 9829c01c78 Update version to 5.4.0-dev in woocommerce.php 2021-04-26 14:46:57 -05:00
Ron Rennick b63a166dbb user customer user for order search 2021-04-26 14:44:44 -03:00
Ron Rennick f46c2fbf0b
Merge pull request #29737 from woocommerce/e2e/e2e-fix-flaky-checkout-test
Fixed checkout coupons flaky scenario in e2e suite
2021-04-26 13:16:44 -03:00
Ron Rennick 4208207e9c add backbone unblocking 2021-04-26 12:31:09 -03:00
roykho d571e570e4
Remove set_backorders logic from external products closes #29696 2021-04-26 08:18:09 -07:00
Ron Rennick 2511fce3a7 remove unused product import function from jest setup script 2021-04-26 10:41:46 -03:00
Ron Rennick b1c6337c49
Merge pull request #29743 from woocommerce/fix/calculate-shipping-flakiness
Logout merchant and clear the cart before running tests
2021-04-26 10:23:45 -03:00
Ron Rennick c315e37c1c switch to individual test files 2021-04-26 09:52:58 -03:00
Roy Ho aab56d84e0
Merge pull request #29752 from woocommerce/fix/29730
Set USD as default store currency
2021-04-23 13:29:34 -07:00
Veljko 01d0f45088 Update functions instead scenario 2021-04-23 20:03:48 +02:00
Jonathan Sadowski cd7b8ee30f Fix unit tests for new default USD currency 2021-04-23 10:03:05 -05:00
Jonathan Sadowski 55ab8cb966 Set USD as default store currency 2021-04-23 09:29:12 -05:00
Veljko 9e3a883478 Merge branch 'e2e/e2e-fix-flaky-checkout-test' into e2e/e2e-merchant-initiate-wccom 2021-04-22 21:27:41 +02:00
Greg 82348d023d Logout merchant and clear the cart before running tests 2021-04-22 11:37:12 -06:00
Veljko 00e1ca530e Fixed checkout coupons flaky scenario 2021-04-22 14:50:31 +02:00
Roy Ho 03d4d4893e
Merge pull request #28187 from woocommerce/fix/25900-take-2
Fix: image size customisation controls not shown when theme doesn't define them but Woo core does
2021-04-22 05:41:57 -07:00
Veljko e5ced9498c Add missing merchant login 2021-04-22 14:39:21 +02:00
Veljko 29f11a5b5a Added new e2e test to initiate wccom connect 2021-04-22 12:42:50 +02:00
Veljko fd85f8239b Update test scenarios to cover both flows 2021-04-22 10:21:36 +02:00
Veljko ce2f04feeb Added new scenario of non-virtual product 2021-04-22 09:47:49 +02:00
Ron Rennick c4074e7bf2 update order coupon test to use api, evalAndClick 2021-04-21 14:45:45 -03:00
Vedanshu Jain 0df1d3ef64
Merge pull request #29599 from woocommerce/enhancement/email-setting-help-text
Change the help text in email settings to include debugging steps.
2021-04-21 22:15:55 +05:30
Veljko 64f15fc284 Rename test scenario 2021-04-21 14:52:29 +02:00
Nestor Soriano 3a895c9eed
Move ThemeSupport class to Internal namespace, and use in 2021 theme. 2021-04-21 12:57:56 +02:00
vedanshujain 96f1ccfe61 Use encoding instead of direct quote character to follow WP guideline. 2021-04-21 11:29:25 +05:30
vedanshujain 00a0118858 Improvements in text for translators. 2021-04-21 11:29:25 +05:30
Gracie Ofslager 43a502e185 Update class-wc-settings-emails.php
Adding copy to line 54 for instructions on how to ensure email is delivered successfully and linking to troubleshooting documentation.
2021-04-21 11:29:25 +05:30
Ron Rennick 6ece4bc82d remove duplicate publish in product test 2021-04-20 18:11:30 -03:00
Roy Ho e4fec5b914
Merge pull request #29721 from woocommerce/fix/29525
Modify wc_get_low_stock_amount function to always return a number
2021-04-20 11:56:27 -07:00
Ron Rennick 5feb03e9a7 export send to slack utils, add unblock check to variable product test 2021-04-20 13:32:14 -03:00
Nestor Soriano b88eb4c981
Rename "assertIsInt" to "assertIsInteger" and make it static
- Renaming to prevent conflicts with the existing method in
  the newer PHPUnit used in PHP 8.
- Making it static because "assertIsInt" is static too, so it'll be
  easier to replace in the future.
2021-04-20 17:16:59 +02:00
Nestor Soriano d214eab157
Use int cast instead of intval in wc_get_low_stock_amount 2021-04-20 16:35:42 +02:00
Nestor Soriano d11a20b5b4
Merge branch 'trunk' into fix/25900-take-2 2021-04-20 16:08:45 +02:00
Néstor Soriano a5333ffd1f
Merge pull request #29681 from woocommerce/fix/29540
Fix/29540
2021-04-20 15:50:14 +02:00
roykho 78a57e53ec
Update to use closure per review comment 2021-04-20 06:17:50 -07:00
Nestor Soriano 76a613a5bb
Modify wc_get_low_stock_amount so that it always returns an integer.
Previously, if the product didn't have an explicit low stock value
amount the value of the woocommerce_notify_low_stock_amount option,
which is a string, was returned verbatim.

Also, update related unit tests to create the option value as a string,
and to check that the value returned by woocommerce_notify_low_stock_amount
is always an integer.
2021-04-20 10:17:50 +02:00
Nestor Soriano 1008835488
Fix code sniffer violations in stock functions and its tests 2021-04-20 09:42:07 +02:00
Ron Rennick 40e887103b add coupon debug screenshot 2021-04-19 16:51:46 -03:00
Ron Rennick 511d7ed0fe replace waitfor delay with network idle 2021-04-19 16:02:30 -03:00
Ron Rennick a76b95e3dd increase order filter test before all timeout 2021-04-19 14:49:35 -03:00
Néstor Soriano 840849ad83
Merge pull request #29718 from woocommerce/fix/package-lock-maint
package lock maintenance
2021-04-19 17:28:47 +02:00
Ron Rennick 94e5991c66 package lock maintenance 2021-04-19 12:15:07 -03:00
kkmuffme 5c07f8e7e1
Sort country codes alphabetically
Sort country codes alphabetically to make finding them easier.
2021-04-19 17:06:59 +02:00
Ron Rennick 682e6bd003 Merge branch 'trunk' into fix/order-search-test 2021-04-19 11:35:32 -03:00
Vedanshu Jain 09798c081c
Merge pull request #29699 from woocommerce/add/github-action-to-auto-assign-milestone
Add a GitHub action for automatic assignment of a milestone to merged PRs
2021-04-19 18:25:30 +05:30
Néstor Soriano 3ada9fc562
Change GH API query for milestones to get only the open ones.
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
2021-04-19 14:46:45 +02:00
roykho 98901dc9ec
Merge branch 'trunk' into fix/29540 2021-04-16 13:51:12 -07:00
Barry Hughes 8cef18ab5b
Merge pull request #29702 from woocommerce/add/action-to-build-release-zip-file
Add a GitHub action to manually trigger the generation of a release zip file.
2021-04-16 13:47:56 -07:00
Greg 1b8e0c2b04
Merge pull request #29616 from woocommerce/e2e/e2e-shopper-calculate-shipping
Add new e2e test shopper cart calculate shipping
2021-04-16 14:23:39 -06:00