Commit Graph

109 Commits

Author SHA1 Message Date
Rodel ebb4eb3ce2 Corrected endpoint name 2021-12-03 02:41:21 +08:00
Rodel eee9a56d71 Merge branch 'trunk' into add/api-tests-shipping-zones-and-methods 2021-12-03 01:40:41 +08:00
Rodel cddf617808 Tests around the default shipping zone 2021-12-03 01:38:16 +08:00
Rodel c40d12fc50 Simplified test data setup 2021-12-02 21:52:25 +08:00
Rodel d10e40f8fa Merge branch 'trunk' into add/api-tests-add-complex-order 2021-12-02 21:35:16 +08:00
Rodel daa43add85 Improved test readability 2021-12-02 21:33:52 +08:00
Rodel 46d60f9b87 Add api group to test, and other minor changes 2021-12-02 14:06:19 +08:00
Rodel ba87378479 Removed unnecessary property in test data 2021-12-02 00:28:55 +08:00
Rodel dd3b372658 Minor cleanup 2021-12-01 23:44:34 +08:00
Rodel 99f63cb378 Merge branch 'trunk' into add/api-t-order-search 2021-12-01 23:43:23 +08:00
Rodel 3f269b9129 Set test data within the test 2021-12-01 23:40:18 +08:00
Rodel e551881817 Revert unnecessary change 2021-12-01 23:26:02 +08:00
Jeff Stieler 21f6ea6ae5 Add test for coupon meta data to API test. 2021-11-30 15:19:01 -05:00
Jeff Stieler 4366de753e Format test file. 2021-11-30 15:18:40 -05:00
Claudio Sanches bc910e2364
Merge pull request #31206 from woocommerce/fix/changelogger-validate
Jetpack Changelogger: Validate entries
2021-11-26 13:21:01 -03:00
Rodel 248d0ecc03 Added back assertion; clean up pre-existing zones 2021-11-22 21:23:43 +08:00
Rodel 3c31414c80 Merge branch 'trunk' into add/api-tests-orders-crud 2021-11-22 15:37:25 +08:00
Rodel 38be0cf7c8 Merge branch 'trunk' into add/api-tests-add-complex-order 2021-11-19 23:31:42 +08:00
Rodel ca5124e1d1 Merge branch 'trunk' into add/api-t-order-search 2021-11-19 22:38:12 +08:00
Jeff Stieler 2bac37f4e6
Orders Endpoint Acceptance Tests (#31033)
* Create more sample orders data.

* Code formatting.

* Add tests for pagination.

* Formatting.

* Add test case for inclusion and exclusion parameters.

* Add test for parent and parent_exclude parameters.

* Add test case for status parameter.

* Add test case for customer parameter.

* Add test case for product parameter.

* Create a test order with all numerical properties populated.

* Add test case for precision parameter.

* Add test case for search parameter.

* Add test case for orderby parameter.

* Move missed api-core-tests files.

* Force tests to run in band (sequentially).
2021-11-16 10:03:53 -07:00
Rodel 756644dac3 Removed flaky assertion 2021-11-16 15:50:51 +08:00
Paul Sealock fc839d212d update all usages 2021-11-16 15:16:20 +13:00
Christopher Allford c91dda177d
Fix E2E Tests (#31205)
* Removed Changlogger Autoload

* Changed Jetpack Changelogger Formatter Loading

Rather than using the Composer autoload, we should use the
changelogger's "filename" option to point directly at the file.
This keeps the file out of the autoloads, since it's possible that
plugins or packages may be symlinked and break the relative
path to the plugin.
2021-11-16 15:01:50 +13:00
Rodel c924666812 Test for adding a complex order 2021-11-15 22:30:34 +08:00
Rodel 73974ea5f1 Changelog entry 2021-11-11 21:11:55 +08:00
Rodel c7bab0d3cd Added shipping method tests 2021-11-11 21:11:03 +08:00
Rodel 820110dbff Test for "List all shipping zones" 2021-11-11 20:02:30 +08:00
Rodel 8c54bcb748 Added update and retrieve shipping zone tests 2021-11-11 19:47:40 +08:00
Rodel 32d0a43a74 Added shipping zone tests 2021-11-11 19:39:40 +08:00
Rodel a33a1d7c87 Removed duplicate tests 2021-11-11 15:44:25 +08:00
Paul Sealock 15f26ee8f7 update to 3.0.2 of changelogger 2021-11-11 17:03:44 +13:00
Paul Sealock 5d6539d209 lock files 2021-11-11 16:55:05 +13:00
Paul Sealock 5c68568bb7 Revert "add nx composer-install targets"
This reverts commit ffaef64343.
2021-11-11 16:47:50 +13:00
Paul Sealock ffaef64343 add nx composer-install targets 2021-11-11 16:43:27 +13:00
Paul Sealock 20fb81eb5a point to next changelog 2021-11-11 16:38:38 +13:00
Paul Sealock e08cc18e16 js packages next changelogs 2021-11-11 16:34:50 +13:00
Paul Sealock a5abab9ab0 Add Jetpack Changelogger 2021-11-11 16:28:10 +13:00
Rodel 988618056d Added test for empty result set 2021-11-10 22:58:04 +08:00
Rodel ee3b315eaa Changed shipping phone data 2021-11-10 22:57:50 +08:00
Rodel 0a3a6a98c2 Checked out data/refund.js from trunk 2021-11-10 22:04:17 +08:00
Rodel 43b7f0ea29 Additional assertions 2021-11-10 22:03:51 +08:00
Rodel 684e1a19da Merge branch 'trunk' into add/api-tests-orders-crud 2021-11-10 21:47:35 +08:00
Rodel 2f87604ef1 Removed unnecessary dependencies 2021-11-10 21:46:50 +08:00
Roy Ho 9d08ac8ac3
Merge pull request #31095 from woocommerce/setup-nx
Setup nx
2021-11-09 20:26:37 -08:00
roykho d839bdfc94
Implement executors for all script commands 2021-11-09 12:35:22 -08:00
Rodel 49647ea852 Added tests for order search 2021-11-09 18:19:44 +08:00
Rodel 1f341df486 Merge branch 'trunk' into add/api-tests-orders-crud 2021-11-09 14:38:19 +08:00
Ron Rennick a53e37f43b remove duplicate gitignore entries 2021-11-08 11:03:19 -04:00
roykho 7dc6ae6316
Add Nx basic script executors for packages 2021-11-05 08:15:04 -07:00
roykho b64d0b3dfe
Add initial project.json config files to all packages and plugins 2021-11-04 14:51:04 -07:00
Greg 812b672c5e Add in missing refunds test 2021-10-29 16:43:45 -06:00
Greg c6d5e45123 More missing files 2021-10-29 16:40:27 -06:00
Greg 0c90cf09e6 Add in missing refund data 2021-10-29 16:14:49 -06:00
Rodel d2c6ce622f Corrected import path 2021-10-30 00:16:18 +08:00
Rodel 1850656a21 Add missing test data files in the new directory 2021-10-30 00:15:09 +08:00
Rodel 48c724d3d8 Remove unnecessary group tag 2021-10-30 00:13:24 +08:00
Rodel 28440b365e Moved test to new directory 2021-10-29 23:51:05 +08:00
Rodel 0fa113e29c Merge branch 'trunk' into add/api-tests-orders-crud 2021-10-29 23:34:12 +08:00
Paul Sealock 789d942f89
Update e2e package locations and add PNPM (#30977) 2021-10-29 08:32:31 +13:00