Commit Graph

3260 Commits

Author SHA1 Message Date
Greg a4ef0b0b1d
Merge pull request #29548 from woocommerce/e2e/e2e-fix-flaky-shipping-zones
Fix flakiness in Merchant's Add Shipping Zones test
2021-04-01 11:02:00 -06:00
Ron Rennick 13f6cf4819
Merge pull request #29557 from woocommerce/fix/e2e-onboarding-fkakiness
Fix for e2e flakiness in onboarding wizard
2021-04-01 12:51:43 -03:00
Roy Ho 8b6e4ac519
Merge pull request #29542 from woocommerce/fix/23682.1
Update UID only for WooCommerce cookies
2021-03-31 16:05:28 -07:00
zhongruige beb63625ac Use checkbox specific utils and verify it's checked before continuing 2021-03-31 14:26:36 -06:00
Roy Ho e4502fe314
Merge pull request #29495 from woocommerce/fix/29472
Add "postcodes" and "cities" support for the REST API tax rate creation/update endpoint
2021-03-31 08:17:31 -07:00
Nestor Soriano 64e903f65f
Update REST API v3 taxes endpoint descriptions with deprecation/introduction information. 2021-03-31 12:41:53 +02:00
Nestor Soriano 8ff664e758
Fix "doing wrong wpdb::prepare" notice for REST API get taxes endpoint. 2021-03-31 12:09:20 +02:00
Veljko 110c31d078 Remove unnecessary postcode 2021-03-31 10:36:47 +02:00
Veljko c9cd12f5e8 Fix flakiness in the test 2021-03-31 10:01:41 +02:00
Claudio Sanches 2da3a37450 Added unit test 2021-03-30 14:11:33 -03:00
Veljko 84b9713cf9 Fix spaces in merchant 2021-03-30 18:23:48 +02:00
Veljko V a8ab058fb5
Merge branch 'trunk' into e2e/e2e-merchant-analytics-pagechecks 2021-03-30 18:19:21 +02:00
Greg 0342ed782b
Merge pull request #29493 from woocommerce/e2e/e2e-shopper-checkout-new-account
Add new e2e test shopper / checkout / create an account
2021-03-30 08:04:26 -06:00
Néstor Soriano 8e57d58555
Merge pull request #29474 from woocommerce/fix/27290-take-2
Fix the REST API entry point to add coupons to an order.
2021-03-30 09:22:27 +02:00
Veljko 0ee581e662 Fix spaces issue 2021-03-30 08:48:20 +02:00
Ron Rennick 6d36055328 bump e2e-utils version 2021-03-29 17:58:59 -03:00
Ron Rennick 64d935470c Merge branch 'trunk' into fix/remove-core-test-import 2021-03-29 13:44:22 -03:00
Ron Rennick 3d50da02b8
Merge pull request #29440 from woocommerce/fix/29277-release
update changelogs, bump package versions
2021-03-29 13:41:52 -03:00
Nestor Soriano ccb8cbddac Adjust tests for WC_Admin_Dashboard_Setup (consider 'payments' task) 2021-03-29 17:39:58 +02:00
Ron Rennick fd77beb9af use require instead of import for faker 2021-03-26 11:23:28 -03:00
Ron Rennick 4f6c0ee13e use require in core test 2021-03-25 15:28:21 -03:00
Nestor Soriano b5e13bd771 Add support for "postcodes" and "cities" (arrays) fields to the
REST API endpoints for creating and updating taxes.
2021-03-25 14:56:40 +01:00
Nestor Soriano 8ec8daf65a Add a do_rest_request method to WC_REST_Unit_Test_Case. 2021-03-25 14:56:34 +01:00
Veljko 29ed6bd6e7 Fix test to check for settings checkbox 2021-03-25 13:50:13 +01:00
Veljko d6cc48c2e3 Fix spaces in code 2021-03-25 13:22:30 +01:00
Veljko c13aa0f694 Added new e2e test checkout new account 2021-03-25 13:17:42 +01:00
Veljko 3feaba9a47 Update test to match with data state 2021-03-25 12:14:49 +01:00
Veljko e1a3be4945 Added new e2e test opening analytics 2021-03-25 10:21:32 +01:00
Ron Rennick 8efbd3cbf5 Merge branch 'trunk' into fix/29277-release 2021-03-24 17:53:27 -03:00
Greg 94cd20f16e
Merge pull request #29313 from woocommerce/update/e2e-api-product-delete
delete vs trash product in e2e api
2021-03-24 14:25:12 -06:00
Ron Rennick 7529914a98 Merge branch 'trunk' into fix/29277-release 2021-03-24 16:15:03 -03:00
Ron Rennick 6efa5b7ba4
Merge pull request #29399 from woocommerce/fix/29277
Update E2E readme files for release
2021-03-24 16:09:34 -03:00
Nestor Soriano 2b8cac7cf2 Fix the REST API entry point to add coupons to an order.
- Check input (no 'id', has 'code') and throw an error if needed
  before removing the existing coupons, so an invalid input
  won't cause the loss of these existing coupons.
- Also, check that the coupon is actually valid as part of the
  input check.
- Cache the coupon objects that are created during the input check,
  and apply them directly.
- Don't check if 'coupon_lines' is an array and contains arrays,
  that's already done by the REST API engine by looking at the schema.
- Adjust unit tests.
2021-03-24 15:19:34 +01:00
Néstor Soriano 886cd15016
Merge pull request #29378 from woocommerce/fix/code-sniff
Remove Travis and fix CI in GitHub Actions
2021-03-23 15:22:49 +01:00
Ron Rennick 99b45ff583 update changelogs, bump package versions 2021-03-19 13:13:14 -03:00
Ron Rennick e25ee7f36c fix merge conflicts 2021-03-17 16:40:49 -03:00
Greg fed4e14459
Merge pull request #29413 from woocommerce/fix/e2e-shipping-test
Attempt to fix flakiness in shipping test
2021-03-17 13:17:07 -06:00
Ron Rennick ddb940e993 Attempt to fix flakiness in shipping test
- Work around Delete and Edit action links not being visible
- delete all shipping zones at beginning of test
- use uiUnBlock instead of page wait
- ensure clicking method edit OK button
2021-03-17 14:48:06 -03:00
Greg b6f3c2b0be
Merge pull request #29383 from woocommerce/e2e/e2e-fix-flaky-checkout-coupons
Fixed flaky e2e test checkout coupons
2021-03-17 08:49:14 -06:00
Veljko V f65c493e38
Merge branch 'trunk' into e2e/e2e-merchant-search-orders 2021-03-17 09:07:51 +01:00
Néstor Soriano 17224d0ab1
Merge pull request #29345 from woocommerce/hw/low-stock-threshold-for-variations
Low stock threshold for variations
2021-03-17 08:59:32 +01:00
Greg c3e765642c
Merge pull request #29104 from woocommerce/e2e/e2e-merchant-settings-shipping-zones
Add new e2e test merchant shipping zones test
2021-03-16 19:07:24 -06:00
Ron Rennick a3aacf5661 update utils readme 2021-03-16 16:57:42 -03:00
Ron Rennick ed4f3af997 update/expand core tests and api readmes 2021-03-16 16:00:01 -03:00
Ron Rennick 34ef87acd3 Merge branch 'trunk' into fix/29277 2021-03-16 13:33:30 -03:00
Ron Rennick 48dc56d32a update e2e main and env readmes 2021-03-16 11:06:44 -03:00
Ron Rennick 53451e5b36 update init-wp-beta.sh with changes to initialize.sh 2021-03-16 10:54:47 -03:00
Tam Mullen a7bceeb50f
Merge pull request #28818 from woocommerce/e2e-shopper-pay-order
Add new e2e test shopper my account pay order
2021-03-16 13:26:21 +00:00
Peter Fabian 351c07d655 Improved tests, added save points, fixed comments. 2021-03-16 13:08:29 +01:00
Veljko 58d85a8321 Merge branch 'trunk' into e2e/e2e-fix-flaky-checkout-coupons 2021-03-16 09:44:55 +01:00