roykho
b69f46d7d2
Add unit tests
2021-04-27 09:29:24 -07: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
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
Veljko
bdd9fe7318
Add waitForNavigation on Continue clicking
2021-04-09 11:48:17 +02:00
Rodel Calasagsag
11dce13701
Merge branch 'trunk' into e2e/e2e-merchant-settings-add-shipping-classes
2021-04-08 22:17:40 -07:00
Veljko
bc40163155
Make the test more granular
2021-04-08 19:01:54 +02:00
Veljko
d4d93f9239
Remove shipping method deletion
2021-04-08 18:18:59 +02:00
Veljko
fc14a4e5da
Add missing beforeAll code
2021-04-08 17:20:03 +02:00
Veljko
a9ce07c020
Update test
2021-04-08 17:11:29 +02:00
Tam Mullen
59ed09157b
Merge pull request #29426 from woocommerce/e2e/e2e-merchant-import-products
...
Add new e2e test merchant import products via CSV file
2021-04-08 14:46:31 +01:00
Veljko
4fed8f8dab
Add missing jest/global
2021-04-08 15:09:59 +02:00
Veljko
7a1ba36fc9
Added new component and updated tests
2021-04-08 12:41:02 +02:00
Néstor Soriano
439d26be82
Merge pull request #29606 from woocommerce/fix/29545
...
Don't verify empty country codes on checkout
2021-04-08 12:40:13 +02:00
Veljko
b195e354a2
Make test more granular
2021-04-08 11:44:54 +02:00
Veljko
6574db5c2c
Add additional test scenarios
2021-04-08 10:43:07 +02:00