Commit Graph

39809 Commits

Author SHA1 Message Date
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
Josh Betz 73d51a8770 Allow billing email to be empty
Allows passing `null` for the billing email to clear it. This means the
email must either be a string that is a valid email address or a null
value.

Since it is possible to clear the email address for an order in a
similar way via the admin-ajax endpoints, this is meant to provide
consistency with the wp-admin experience.
2021-09-30 08:16:09 -05:00
Jeff Stieler 57e202d313 Add test case for stock status parameter. 2021-09-30 08:35:24 -04:00
Barry Hughes bafa9150c7
Merge pull request #30843 from woocommerce/npm/package-maint
Package lock maintenance
2021-09-29 17:20:26 -07:00
Ron Rennick d0a56ed414 package lock maintenance 2021-09-29 19:21:19 -03: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
Claudio Sanches a4b1a9b7e7
Merge pull request #30796 from woocommerce/prep/trunk-580-590
Prep trunk for 5.9 cycle.
2021-09-29 14:54:29 -03: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
Néstor Soriano bc56ac319e
Merge pull request #30813 from woocommerce/bump/blocks-591
Bump Blocks to 5.9.1.
2021-09-29 09:46:39 +02: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
dependabot[bot] 90fe23a4e1
Bump axios from 0.19.2 to 0.21.2 in /tests/e2e/api
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 18:26:35 +00: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
Greg 1d4310a52f
Merge pull request #30822 from woocommerce/fix/25963
add product id support to addToCartFromShopPage / removeFromCart
2021-09-28 10:22:26 -06:00
Ron Rennick ef778b8985 update for feedback 2021-09-28 12:52:04 -03: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
Ekliptor 6872321067 fix ensure cancelling unpaid orders is always re-scheduled 2021-09-28 22:16:50 +07:00
Ron Rennick 2bc34aac53
Merge pull request #30698 from woocommerce/add/pr-smoke-test-workflow
Added workflow for running smoke tests on PR
2021-09-27 15:36:47 -03:00
Ron Rennick 8125408f08 merge trunk 2021-09-27 13:39:45 -03:00
Ron Rennick c35a789497 update most tests to use product id 2021-09-27 13:22:20 -03:00
Ron Rennick 7a2903e9c2 add product id support to addTo/removeFromCartFromShopPage 2021-09-27 09:58:43 -03:00
Greg 7dfff3da2e Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/pr-smoke-test-workflow 2021-09-24 14:28:52 -06:00