Commit Graph

62 Commits

Author SHA1 Message Date
Greg 7fe341f144 Update statusCode to status 2021-10-14 15:45:39 -06:00
Greg 5c94f17847 Update package lock with correct Jest version 2021-10-12 11:48:38 -06:00
Jeff Stieler 2eabd61589 Add test case for orderby popularity. 2021-10-01 16:05:56 -04:00
Jeff Stieler e8b86de475 Fix orderby price test. 2021-10-01 15:39:38 -04:00
Jeff Stieler 229346d062 Tear down test data. 2021-10-01 15:39:03 -04:00
Jeff Stieler 0cb8187243 Add test case for orderby rating. 2021-10-01 15:11:51 -04:00
Jeff Stieler e38c5c6836 Add (skipped) test case for orderby include. 2021-09-30 17:40:47 -04:00
Jeff Stieler e69f6e7356 Add test case for orderby price. 2021-09-30 16:58:10 -04:00
Jeff Stieler 80ca95b754 Add (skipped) test case for orderby slug. 2021-09-30 14:57:04 -04:00
Jeff Stieler 99c9f78d8a Add test case for orderby title. 2021-09-30 12:56:01 -04:00
Jeff Stieler bf739b4ba0 Add test case for orderby id. 2021-09-30 12:31:00 -04:00
Jeff Stieler 7a79d2808d Add test case for orderby date. 2021-09-30 12:27:51 -04:00
Jeff Stieler 14b1234198 Remove lookup queries in test cases. 2021-09-30 11:08:55 -04:00
Jeff Stieler 96ffaefb73 Fix tests after adding parent/child products. 2021-09-30 10:54:48 -04:00
Jeff Stieler 27155e20df Add test case for parent parameters. 2021-09-30 09:38:34 -04:00
Jeff Stieler b9386f3224 Add test case for tag parameter. 2021-09-30 09:34:26 -04:00
Jeff Stieler 57e202d313 Add test case for stock status parameter. 2021-09-30 08:35:24 -04:00
Jeff Stieler 5d2b908b7d Add test case for tax class parameter. 2021-09-29 17:10:36 -04:00
Jeff Stieler 618f476153 Increase test timeout for products setup. 2021-09-29 16:08:13 -04:00
Jeff Stieler 9ab7c7a856 Add test case for shipping class parameter. 2021-09-29 16:07:59 -04:00
Jeff Stieler 0927d2a4be Remove trailing spaces. 2021-09-29 15:25:39 -04:00
Jeff Stieler a74fcac00b Add test case for status parameter. 2021-09-29 13:29:35 -04:00
Jeff Stieler ebc3a3fb68 Add test case for attributes parameter. 2021-09-29 13:17:16 -04:00
Jeff Stieler 3310384948 Add test case for before / after parameters. 2021-09-29 09:57:54 -04:00
Jeff Stieler 4488ed846e Create sample products before running tests. 2021-09-28 15:39:01 -04:00
Jeff Stieler e0b2af33b8 Fix nesting. 2021-09-28 15:24:29 -04:00
Jeff Stieler 66a9896521 Add test for price parameter. 2021-09-28 15:24:29 -04:00
Jeff Stieler 3e597d704f Add test case for on sale parameter. 2021-09-28 15:24:29 -04:00
Jeff Stieler f98320c25d Add test case for category parameter. 2021-09-28 15:24:29 -04:00
Jeff Stieler 74c9af8ba4 Add test case for featured parameter. 2021-09-28 15:24:29 -04:00
Jeff Stieler ad1b7ca7c7 Add test case for type parameter. 2021-09-28 15:24:29 -04:00
Jeff Stieler e39261eb20 Add test case for sku parameter. 2021-09-28 15:24:28 -04:00
Jeff Stieler 6ecf9a1aaf Add test case for slug parameter. 2021-09-28 15:24:28 -04:00
Jeff Stieler 99b8e15626 Add test case for include/exclude parameters. 2021-09-28 15:24:28 -04:00
Jeff Stieler d3ccd437ff Add test case for offset parameter. 2021-09-28 15:24:28 -04:00
Jeff Stieler 5809cba2c0 Add test for search parameter. 2021-09-28 15:24:28 -04:00
Jeff Stieler 0bb6f95f8a Add test case for products endpoint pagination. 2021-09-28 15:24:28 -04:00
Jeff Stieler b2865b2993 Add initial test for the products endpoint. 2021-09-28 15:24:28 -04:00
Jeff Stieler 122b62df32 Define products endpoints for API tests. 2021-09-28 15:24:28 -04:00
Jeff Stieler aea672e189 Remove API package dependency. 2021-09-28 15:18:49 -04:00
Jeff Stieler c761cc2ea1 Use supertest wrapper to make API calls. 2021-09-28 15:18:31 -04:00
Jeff Stieler 890017e45a Create sample variable products. 2021-09-28 14:39:16 -04:00
Jeff Stieler aeaac1f3c2 Create sample grouped product. 2021-09-28 14:06:05 -04:00
Jeff Stieler ed8d2df8cb Create sample external product. 2021-09-28 13:55:48 -04:00
Jeff Stieler 904922d692 Create sample simple products. 2021-09-28 13:21:31 -04:00
Jeff Stieler 1b46a2746e Create sample product attributes. 2021-09-28 12:36:11 -04:00
Jeff Stieler 6ab6545c3f Create sample product categories. 2021-09-28 11:49:05 -04:00
Jeff Stieler 1bfc579787 Add dependency on the api package. 2021-09-28 11:48:53 -04:00
Greg 943a213b49
Merge pull request #30780 from woocommerce/fix/actests-no-return
Fix for missing return in API core tests
2021-09-23 13:47:12 -06:00
Greg f8cef29f59 Fix for missing return 2021-09-22 14:15:40 -06:00