Commit Graph

3918 Commits

Author SHA1 Message Date
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
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
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 982fec1ffe
Merge pull request #30696 from woocommerce/fix/30371
Delete coupons instead of trashing them
2021-09-24 14:09:31 -06:00
jonathansadowski 8cdccb1af5
Merge pull request #30804 from woocommerce/revert/downloads-path-tweak
Revert/downloads path tweak
2021-09-24 09:47:43 -05:00
Vedanshu Jain 9bd919c023
Merge pull request #29441 from woocommerce/try/perf-k6-checkout-poc
Add initial k6 performance tests
2021-09-24 18:11:47 +05:30
Ron Rennick 84ad1cbdb8 fix merge conflict 2021-09-24 08:48:41 -03:00
Tam Mullen 2363294f08 Added more detail on influxdb and grafana to k6 readme 2021-09-24 10:34:37 +01:00
roykho bce05c811a
Revert "Tweak download filepaths"
This reverts commit 90e187b899.
2021-09-23 18:51:41 -07: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 b6db14ff62
Merge pull request #30793 from woocommerce/e2e/bump-admin-tests 2021-09-23 11:27:21 -06:00
Ron Rennick 41753206d2 update e2e for WC Admin 2.7.0 2021-09-23 13:49:22 -03:00
Ron Rennick c15bf28b22
Merge pull request #30684 from woocommerce/add/api-test-script-scheduled-run
Run API tests with regular run and add script
2021-09-23 10:36:21 -03:00
Greg cb0bab37be Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into fix/actests-no-return 2021-09-22 15:40:44 -06:00
Greg f8cef29f59 Fix for missing return 2021-09-22 14:15:40 -06:00
Ron Rennick 5ccf3a564f update from feedback 2021-09-22 12:04:24 -03:00
Ron Rennick 32e3919604 Merge branch 'trunk' into fix/30371 2021-09-22 11:29:08 -03:00
Vedanshu Jain 5cdf979961
Merge pull request #30692 from woocommerce/fix/30231
Use proper location for taxes when adding products via admin
2021-09-22 15:14:13 +05:30
dependabot[bot] cbf27fd526
Bump tmpl from 1.0.4 to 1.0.5 in /tests/e2e/api
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 20:07:03 +00:00
roykho 90e187b899
Tweak download filepaths 2021-09-21 12:36:52 -07:00
Nestor Soriano d254f2703c
Add a unit test for WC_Abstract_Order->add_product
The test verifies that if an order is passed in arguments, that order
is passed in turn to wc_get_price_excluding_tax.
2021-09-21 16:40:36 +02:00
Ron Rennick 772168519f initialize index permalinks before e2e tests 2021-09-20 13:51:11 -03:00
Ron Rennick 1d0af61357 update create order test to use OrderEdit 2021-09-15 23:00:12 -03:00
Ron Rennick 21470315fa instantiate AdminEdit object 2021-09-15 14:49:41 -03:00
Nestor Soriano 98a2391747
Add unit test for 'wc_get_price_excluding_tax'.
The test verifies that when an order is passed as an argument,
the order customer is passed to 'WC_Tax::get_rates'.
2021-09-13 10:16:18 +02:00
Ron Rennick d2a94ba5d9 update utils readme to include general utils 2021-09-10 15:56:16 -03:00
Ron Rennick 20cb447204 delete coupons instead of trashing them 2021-09-10 15:30:28 -03:00
Greg e09b43f099 Code review feedback 2021-09-09 12:23:23 -06:00
Greg 62453974dd Code review feedback 2021-09-09 11:01:13 -06:00
Greg edb10107cf Run API tests with regular run and add script 2021-09-09 08:41:36 -06:00
Greg 2efdcda7d3
Merge pull request #30658 from woocommerce/e2e/release-packages 2021-09-08 12:07:42 -06:00
Ron Rennick 94b7254e40 release package updates 2021-09-08 11:01:02 -03:00
Greg 3e2c04a97c Minor tweaks and fixed a bug 2021-09-07 19:02:58 -06:00
Greg aaad21bb8b Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/api-core-tests 2021-09-07 17:17:43 -06:00
Greg 83155f5275 Remove todo line 2021-09-07 16:21:52 -06:00
Greg 095a74347a Code review feedback 2021-09-07 16:20:44 -06:00
Rodel Calasagsag aa67c7e932 Merge branch 'trunk' into add/e2e-implement-describe-each 2021-09-01 14:30:15 +08:00
Rodel Calasagsag 7a835abaea Revert each() calls in onboarding tasklist tests 2021-09-01 14:29:55 +08:00
Greg 1ce5f7a863
Update README.md 2021-08-31 15:47:42 -06:00
Greg a17cc41a2f
Update customer.js 2021-08-31 08:42:57 -06:00
Greg b6fc307b9b
Update request.js 2021-08-31 08:41:09 -06:00
Greg a1648e5d60
Merge branch 'trunk' into fix/e2e-checkout-page-failures 2021-08-31 08:17:50 -06:00
Greg b2c281781e Skip WCCOM connection 2021-08-31 20:17:36 +08:00
rodelgc ecac17817b
Merge branch 'trunk' into add/e2e-implement-describe-each 2021-08-31 19:36:51 +08:00
Greg 4eaf1e1710 Update API call for zip code 2021-08-30 15:01:59 -06:00
Greg a130109445 Skip WCCOM connection 2021-08-30 14:22:23 -06:00
Greg 2624ad969d Merge branch 'add/e2e-get-environment-context' of github.com:woocommerce/woocommerce into add/e2e-get-environment-context 2021-08-30 13:24:12 -06:00
Greg b1990cfb85 Code review feedback 2021-08-30 13:23:54 -06:00
Greg 59c69e54dd Added updateSettingOption and updatePaymentGateway to withRestAPI flows 2021-08-30 12:00:31 -06:00
Greg eaed316450
Added missing semicolon 2021-08-30 11:00:54 -06:00
Greg 7276a4e489 Code review feedback 2021-08-30 10:33:45 -06:00
Greg 9234fb7f3b Fix typo 2021-08-27 17:36:39 -06:00
Greg a688716587 Remove extra whitespace 2021-08-27 16:08:33 -06:00
Greg e496f5ef15 Minor fix to README 2021-08-27 16:07:55 -06:00
Greg 0f1325d937 Added changelog and readme 2021-08-27 16:04:03 -06:00
Greg efbb119b31 Get environment context for tests 2021-08-27 15:59:44 -06:00
Ron Rennick 1cd8d14ac4 skip product search on WP versions < 5.8 2021-08-27 16:14:04 -03:00
Ron Rennick d129a980d9 reset onboarding on retest 2021-08-27 11:12:13 -03:00
jonathansadowski 614ae96516
Merge pull request #30585 from woocommerce/add/29461
Add 'modified_before' and 'modified_after' params to REST API
2021-08-27 08:25:23 -05:00
Tam Mullen 5ed9050d66 Some Perf Testing README corrections. 2021-08-27 09:59:58 +01:00
Tam Mullen cd5bf73f12 Updated README 2021-08-26 21:55:30 +01:00
Tam Mullen 8c2d78268a Added README 2021-08-26 21:53:08 +01:00
Greg a26951b6c6 Add page reload and split simple product page test 2021-08-26 13:23:42 -06:00
Ron Rennick 05e43a9711
Merge pull request #30587 from woocommerce/fix/e2e-variable-variation-timeout
Increase timeout waiting for variable is virtual selector
2021-08-26 13:54:05 -03:00
Ron Rennick f3bc3f6fe4
Merge pull request #30582 from woocommerce/fix/e2e-shipping-classes-test
Fix for not finding text in Merchant can add shipping classes test
2021-08-26 13:47:09 -03:00
Ron Rennick 7058368ad8
Merge pull request #30583 from woocommerce/fix/e2e-shipping-zone-tests
Added waits for the UI to be unblocked for shipping zone tests
2021-08-26 12:50:18 -03:00
Greg ce748b0f36 Increase timeout waiting for virtual selector 2021-08-26 09:37:34 -06:00
Greg 44cf40b781
Merge pull request #30558 from woocommerce/add/admin-e2e-tests
add admin E2E tests
2021-08-26 08:58:32 -06:00
Nestor Soriano 96d0a129b5
Fix: 'require's that should be 'require_once' instead. 2021-08-26 16:22:39 +02:00
Nestor Soriano 7cccf62a89
Move tthe date filtering tests to a trait.
Since the new date filtering parameters 'modified_before' and
'modified_after' applies to products, orders and coupons, the tests
for the date filtering have been moved to a trait and included
in the three corresponding test files.
2021-08-26 15:41:57 +02:00
Ron Rennick 76332ec0c8 update per feedback, add spacing, remove unused function 2021-08-26 10:07:13 -03:00
Tam Mullen a6a7fb1466 Add example ramping arrival rate scenario 2021-08-26 12:45:13 +01:00
Nestor Soriano 0b84d2d8b8
Add 'modified_before' and 'modified_after' params to REST API
The parameters are added to WC_REST_CRUD_Controller in v3 of the API.
2021-08-26 12:49:09 +02:00
Tam Mullen 9e7f1a277c Added additional hearbeat test and example ramping vus scenario to run all tests under load 2021-08-26 11:00:45 +01:00
Greg d4c4ae8948 Use timeout instead 2021-08-25 19:00:22 -06:00
Greg 03ef19285e Added waits for the UI to be unblocked 2021-08-25 16:15:06 -06:00
Greg 000e1a256b Use slug directly instead of as text 2021-08-25 15:24:03 -06:00
Greg 7cbed7f5dc
Merge pull request #30578 from woocommerce/fix/wp-capitalization
fix two mispellings of WordPress
2021-08-25 13:54:11 -06:00