Commit Graph

3409 Commits

Author SHA1 Message Date
Ron Rennick f3652e2def update both customer billing and shipping 2021-04-27 11:16:44 -03:00
Ron Rennick 70ff64d427 add the billing address to the customer account 2021-04-26 23:44:58 -03: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 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
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
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
Nestor Soriano 3a895c9eed
Move ThemeSupport class to Internal namespace, and use in 2021 theme. 2021-04-21 12:57:56 +02: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
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 d11a20b5b4
Merge branch 'trunk' into fix/25900-take-2 2021-04-20 16:08:45 +02: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
roykho 98901dc9ec
Merge branch 'trunk' into fix/29540 2021-04-16 13:51:12 -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
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
Veljko V a2f8216b9b
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping 2021-04-16 11:51:52 +02:00
Greg 87a6ebf03f
Merge pull request #29693 from woocommerce/e2e/e2e-shopper-order-email-received
Add new e2e test shopper order email receiving
2021-04-15 15:20:52 -06:00
Veljko 1bc0b25f0c Fix spaces 2021-04-15 14:30:06 +02:00
Veljko 5c633e1c3b Add deleting email logs if any 2021-04-15 14:01:28 +02:00
Veljko 950d08b7a5 Add new e2e test shopper order email receiving 2021-04-15 13:28:25 +02:00
Veljko a075232434 Updated code for calculating prices 2021-04-15 10:06:06 +02:00
Veljko V 80baefe89a
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping 2021-04-15 09:10:35 +02:00
Ron Rennick fb0b51d330 merge trunk 2021-04-14 21:16:42 -03:00
Greg d496e8e3db
Merge pull request #29623 from woocommerce/e2e/28485-resets
[WIP] Reset a test site
2021-04-14 16:09:09 -06:00
roykho 427be84875
Add unit tests 2021-04-14 11:54:13 -07:00
Ron Rennick 2c13c994b2 add screenshot utility 2021-04-14 10:05:03 -03:00
Veljko V 2b82c60107
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping 2021-04-14 10:21:56 +02:00
Greg baae57baf5
Merge pull request #29652 from woocommerce/fix/slackbot-instructions
Add step to slackbot instructions
2021-04-13 14:49:40 -06:00
Greg d06bb5b1e6
Merge pull request #29592 from woocommerce/e2e/e2e-shopper-cart-redirection
Add new e2e test shopper cart redirection
2021-04-13 14:40:39 -06:00
Tam Mullen ea30866687
Merge pull request #29468 from woocommerce/e2e/e2e-merchant-orders-add-order-complex
E2e/e2e merchant orders add order complex
2021-04-13 10:16:50 +01:00
Veljko V d9f6f40ac9
Merge branch 'trunk' into e2e/e2e-shopper-cart-redirection 2021-04-13 09:24:25 +02:00
Veljko V d8ff7c02b8
Merge branch 'trunk' into e2e/e2e-shopper-calculate-shipping 2021-04-13 09:23:18 +02:00
rodel-calasagsag a094b185d3 Removed unused faker dependency 2021-04-12 22:52:54 -07:00
roykho ded5c9c7c4
Update unit tests to reflect new base address 2021-04-12 14:13:27 -07:00
Ron Rennick 4480e110f4 update core tests & utils readmes 2021-04-12 14:33:00 -03:00
roykho 6c7c420d25
Set US:CA as the default store location 2021-04-12 09:28:30 -07:00
Ron Rennick 96000d81d0 add step to slackbot instructions 2021-04-12 13:19:34 -03:00
Ron Rennick 5f1e9c2ce5
Merge pull request #29527 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/y18n-4.0.1
Bump y18n from 4.0.0 to 4.0.1 in /tests/e2e/api
2021-04-12 10:48:08 -03:00
Ron Rennick d950a3298e
Merge pull request #29467 from woocommerce/e2e/e2e-merchant-settings-add-shipping-classes
E2e/e2e merchant settings add shipping classes
2021-04-12 10:45:25 -03:00
Ron Rennick a517d88132 merge trunk 2021-04-09 17:08:17 -03:00
Ron Rennick c94ddb8803 update package changelogs, minor fixes from full PR review 2021-04-09 16:39:30 -03:00
Ron Rennick fcbbb12a8a add retry support 2021-04-09 16:15:00 -03:00