Commit Graph

1156 Commits

Author SHA1 Message Date
Josh Betz dc5e8af63e Add e2e tests for telemetry endpoint
* Verify that missing parameters will result in errors
* Verify that passing correct parameters will result in 200
2021-10-14 09:48:54 -05:00
Ron Rennick 7f2751d075
Merge pull request #30660 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/axios-0.21.2
Bump axios from 0.19.2 to 0.21.2 in /tests/e2e/api
2021-10-13 16:48:59 -03:00
Ron Rennick d8e89ff1b3
Merge pull request #30755 from woocommerce/dependabot/npm_and_yarn/tests/e2e/api/tmpl-1.0.5
Bump tmpl from 1.0.4 to 1.0.5 in /tests/e2e/api
2021-10-13 16:22:09 -03:00
Greg 6eb5277597
Merge pull request #30832 from woocommerce/add/30354-sample-products-rest-api
Products Endpoint Acceptance Tests
2021-10-07 10:56:46 -06:00
Ron Rennick dbceb032a1
Merge pull request #30863 from woocommerce/add/wp-l-minus-2-testing
Support for L-2 WordPress version testing
2021-10-06 13:58:48 -03:00
Greg 3b773c1867 Check semver and refactor out script 2021-10-05 09:33:24 -06:00
Greg edf41e5d2d Remove logic to add in patch version 2021-10-04 13:39:35 -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
Greg d7a1538b2f Update changelog and readme 2021-10-01 10:29:59 -06:00
Greg 92403b3e25 Added WP l minus 2 testing on release 2021-10-01 10:08:55 -06: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
Ron Rennick 6f520593d0 update page.waitFor to waitForTimeout 2021-09-29 18:57:33 -03: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