vedanshujain
e546c237b7
Add tests for checking all fields are returned even requested individually.
2021-01-06 15:12:55 +05:30
vedanshujain
1fdc24daa9
Add unit test for verifying that all expected fields are present.
2021-01-06 14:19:26 +05:30
jonathansadowski
1e267980e8
Merge pull request #28723 from woocommerce/feature/issue-27208
...
Feature/issue 27208
2021-01-05 14:00:55 -06:00
roykho
b25f01d2f3
Add unit tests
2021-01-05 08:14:39 -08:00
Vedanshu Jain
7d4cf1b8bf
Merge pull request #28677 from woocommerce/fix/request-request-arg-api
...
Add protection around `func_get_arg` method for backward compatibility.
2021-01-05 17:45:31 +05:30
zhongruige
f472d3cc0f
Cast to number for the comparison
2020-12-29 10:38:36 -07:00
zhongruige
e3765dc650
Code review feedback
2020-12-29 09:10:22 -07:00
vedanshujain
818e24d5c5
Add protection around `func_get_arg` method for backward compatibility.
...
We are using func_get_arg method to receive argument in a backward compatible way since we cannot modify function signature to add more params even with default params. Earlier I was hoping to use DI to create another child class with modified signature and load it depending upon where we are executing from, however since we had to revert DI, we add this workaround to unblock #27735 .
2020-12-28 14:10:22 +05:30
zhongruige
aeb0f5861f
Make sure the tests are backwards compatible
2020-12-27 15:18:31 -07:00
zhongruige
98ee48d1df
Merge branch 'master' of https://github.com/woocommerce/woocommerce into add/e2e-simple-price-config-variable
2020-12-24 16:15:09 -07:00
Vedanshu Jain
9db6e2e49c
Merge pull request #28643 from woocommerce/feature/fix-build
...
Feature/fix build
2020-12-24 13:12:58 +05:30
zhongruige
0cdcb26f61
Addressing merge conflicts
2020-12-22 19:35:50 -07:00
Ron Rennick
d4cae9ee25
Update e2e-utils, e2e-core-tests to merchant & shopper ( #28133 )
...
* migrate utils from CustomerFlow/StoreOwnerFlow to customer, merchant and shopper
* merge customer into shopper
- add shopper.gotoMyAccount flow
* update internal uses to merchant, shopper
* add *Flow deprecation messages
* update e2e-utils changelog
* update order filter, refund tests to merchant
* add a wait to refund test for ajax to complete
* update StoreOwnerFlow to merchant in new test
* move ajax wait to end of previous test
2020-12-22 14:59:16 +01:00
Vedanshu Jain
800c6a61b7
Merge pull request #28620 from woocommerce/fix/28505
...
Stock management regression fixes
2020-12-21 22:36:53 +05:30
zhongruige
55a8fc3d11
Merge branch 'master' of https://github.com/woocommerce/woocommerce into add/e2e-simple-price-config-variable
2020-12-21 08:54:33 -07:00
Claudio Sanches
8568a9b9ff
Fixed coding standards
2020-12-21 12:46:01 -03:00
vedanshujain
5171108967
Better docs for test functions to specify expectations.
2020-12-21 15:51:07 +05:30
vedanshujain
b4b03f3b46
Merge branch 'master' into fix/28505
2020-12-21 15:42:04 +05:30
vedanshujain
39c200bf2d
Merge branch 'master' into fix/27673
2020-12-21 15:29:55 +05:30
Vedanshu Jain
d2c5fc0750
Merge pull request #28635 from woocommerce/packages/core-tests/setup-shipping
...
use xpath to find onboarding set up shipping task
2020-12-21 01:05:46 +05:30
Ron Rennick
4774297e15
use xpath to find onboarding set up shipping task
2020-12-19 23:00:32 -04:00
vedanshujain
84d60e5fcf
Add unit tests for all status change ops.
...
This loops and tests stock changes through ALL supported WooCommerce statuses. Hopefully this will make our inventory tracking more robust.
2020-12-17 22:28:21 +05:30
zhongruige
b23d5db546
Typo fix
2020-12-16 15:00:13 -07:00
vedanshujain
981d494d52
Add unit tests for #28592
2020-12-16 19:37:01 +05:30
vedanshujain
9ca52ee73b
Fix unit test to use new coupon error messages.
...
This also removes some cart operations which are not needed anymore to since cart already has items that we were adding in those tests.
2020-12-16 16:21:33 +05:30
zhongruige
5131c922a2
Remove unneeded no-disabled-tests
2020-12-15 20:18:16 -07:00
zhongruige
e178017e0a
Added tests for the merchant order apply coupon flow
2020-12-15 20:14:02 -07:00
Tam Mullen
44d508e332
Merge pull request #28556 from woocommerce/add/e2e-merchant-orders-refund-order
...
Added new tests for the merchant order refund flow
2020-12-15 22:35:30 +00:00
roykho
9ffdfd3401
Check in package-lock
2020-12-15 14:21:05 -08:00
zhongruige
d8018cf28e
Add missing trailing semicolon
2020-12-15 06:33:55 -07:00
Rodrigo Primo
5842068cdf
Merge pull request #28587 from woocommerce/add/e2e-docker-image-delay
...
add 12 hour delay to pulling new docker tags
2020-12-15 09:17:12 -03:00
Ron Rennick
733157638b
update package changelog
2020-12-14 10:54:29 -04:00
Ron Rennick
ef61903822
add 12 hour delay to pulling new docker tags
2020-12-14 10:42:39 -04:00
zhongruige
88630e2a32
Add delete issued refund test
2020-12-13 16:07:16 -07:00
zhongruige
46164b032d
Add config variable for simple product price and update tests to utilize it
2020-12-12 15:46:13 -07:00
zhongruige
9d95a21f48
Cleanup unused no-standalone-expect
2020-12-11 10:54:42 -07:00
zhongruige
88ddefbcb3
Dynamically pull the currency symbol instead of hard-coding it
2020-12-11 10:48:20 -07:00
zhongruige
4ca6114476
Swap out currency symbol
2020-12-11 09:47:03 -07:00
zhongruige
2caac87d03
Added new tests for the merchant order refund flow
2020-12-10 21:27:04 -07:00
zhongruige
c07f31f22c
Merge branch 'master' into add/e2e-merchant-orders-filter-orders
2020-12-08 15:50:00 -07:00
zhongruige
1dfedf425c
Code review feedback--setting the consts in the test itself
2020-12-08 15:09:23 -07:00
Ron Rennick
80ded96120
merge master
2020-12-07 13:13:52 -04:00
zhongruige
ae1ebfd031
Code review feedback--moving statuses to config values
2020-12-05 20:30:42 -07:00
Ron Rennick
53fd108b1b
implement peer dependencies in e2e packages
2020-12-03 11:55:02 -04:00
Ron Rennick
60556ea288
update package changelogs
2020-12-01 19:19:10 -04:00
Ron Rennick
a21f9e24a4
add config to package.json in utils, core tests
2020-12-01 18:03:50 -04:00
zhongruige
a37fbff4f5
Merge branch 'master' of https://github.com/woocommerce/woocommerce into add/e2e-merchant-orders-filter-orders
2020-11-27 15:18:12 -07:00
zhongruige
7e286e30f2
Added order filter tests; created helper functions for the tests; updated READMEs and CHANGELOG to reflect changes
2020-11-27 14:49:20 -07:00
Tam Mullen
0877fd5233
Merge pull request #28041 from woocommerce/packages/e2e/custom-initialization
...
add support for custom container initialization script
2020-11-27 20:13:02 +00:00
Ron Rennick
089bb87314
clarify which WordPress nightly
2020-11-20 14:48:18 -04:00