Commit Graph

38765 Commits

Author SHA1 Message Date
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
roykho c73ce8ea04
Convert to using internal DI container 2021-04-16 12:23:40 -07:00
Veljko 1c7bec0489 Remove shipping zones remover 2021-04-16 21:22:34 +02:00
barryhughes 1d8e01d861 Update registered SelectWoo version. 2021-04-16 11:37:02 -07:00
barryhughes 1a2140ff43 Drop/remove auto-generated ID attr for select labels. 2021-04-16 11:04:44 -07:00
Néstor Soriano 5da39b4ff0
Enclose action step name in double quotes for consistency.
Co-authored-by: Leif Singer <git@singer.sh>
2021-04-16 15:48:38 +02:00
Veljko 23e09d33dd Add shipping zones remover 2021-04-16 14:11:27 +02:00
Vedanshu Jain d79e86932b
Merge pull request #29654 from woocommerce/fix/29499
Set US:CA as the default store location
2021-04-16 16:54:50 +05:30
Nestor Soriano b09ddd7984
Add a GitHub action to manually trigger the generation of a release zip file 2021-04-16 13:06:49 +02:00
Bero edd8f545df Always search all addons 2021-04-16 11:54:10 +02:00
Veljko V a2f8216b9b
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping 2021-04-16 11:51:52 +02:00
barryhughes 27db35de67 Update SelectWoo to 1.0.9 and take advantage of data-label support. 2021-04-15 16:55:29 -07:00