Commit Graph

37536 Commits

Author SHA1 Message Date
Paul Sealock 8a061fa24e update to wc-admin 1.9.0 2021-01-28 14:25:45 +13:00
Ron Rennick de759607d1 use correct coupon codes to total $0 2021-01-27 21:04:01 -04:00
Ron Rennick 1195e79c17 clear coupon code for entry 2021-01-27 20:34:56 -04:00
Ron Rennick d18dc96158 make cart coupon test more granular 2021-01-27 17:15:39 -04:00
Fernando Marichal a3471b47d6 Fixed method adjust_download_permissions
This commit fixes the method "adjust_download_permissions" since we're getting an error if the received product id is not valid.
2021-01-27 13:25:06 -03:00
Nestor Soriano 1b04bedd3d Exclude e2e infrastructure from the zip build process
Use the new "install:no-e2e" script instead of "npm install"
for building the zip file.
2021-01-27 16:59:31 +01:00
Nestor Soriano 1d3e83ff55 Remove duplicate processing when building the zip file.
The "build:zip" NPM command was invoking "build-zip.sh" and then doing
"composer install", "grunt" and "makepot", these three were already
done in "build-zip.sh".
2021-01-27 16:50:33 +01:00
Nestor Soriano 63c2b434d2 Don't update text domains on the post-merge hook. 2021-01-27 16:48:25 +01:00
Nestor Soriano bacbd75ac8 Modify package.json to still do the lerna bootstrap by default.
Also remove the "install:e2e" script as it's not really useful.
2021-01-27 16:46:56 +01:00
Menaka S 778c4e2907 Typecast instead of using strval() 2021-01-27 20:39:41 +05:30
Ron Rennick 694aff70cb Merge branch 'master' into packages/env/clean-up-console 2021-01-27 10:23:08 -04:00
Roy Ho ed04d3080a
Merge pull request #28951 from JoseeWouters/fix/alignment-checkout-review-in-twenty-twenty-one
Left align content in tfoot in checkout-review-order-table
2021-01-27 06:02:16 -08:00
Menaka S 203e5ff2a8 Convert all values collected to string 2021-01-27 18:39:52 +05:30
Josee Wouters 294df7f96a Left align content in tfoot in checkout-review-order-table 2021-01-27 10:38:39 +01:00
Roy Ho 32b502dcd2
Merge pull request #28949 from woocommerce/fix/28947
Use wp_robots_no_robots() when available
2021-01-26 15:24:22 -08:00
Claudio Sanches 41d26ea283 Use wp_robots_no_robots() when available
Adds support for WP 5.7 wp_robots_no_robots().
Note that wp_no_robots() is deprecated on WP 5.7.
2021-01-26 20:00:02 -03:00
Ron Rennick bb4e654cce
Return jest error for Travis (#28929)
* Return jest error for Travis

* fix onboarding flow for WCA 1.9.0
2021-01-26 21:59:40 +01:00
Roy Ho f9a02d1029
Merge pull request #28834 from woocommerce/fix/comment-typos
Fix typos in comments
2021-01-26 08:23:54 -08:00
Roy Ho ff06542a87
Merge pull request #28905 from mehrshaddarzi/patch-1
change attibutes to attributes
2021-01-26 08:17:23 -08:00
Roy Ho 207101caa3
Merge pull request #28919 from jahir07/single-product-image
Changes post_thumbnai_id instead of get_image_id
2021-01-26 08:10:52 -08:00
Roy Ho 5dd53439e0
Merge pull request #28927 from sc0ttkclark/patch-1
Fix fatal error problems by no longer adding false to the list of orders
2021-01-26 08:07:37 -08:00
Ron Rennick f48ca7cade eliminate repeated missing resource messages in E2E 2021-01-26 11:42:51 -04:00
Nestor Soriano f239075b2f Improve the nmp setup process to install e2e tests only explicitly
Use the "install-subset" package to define a subset of the nmp
dependencies that doesn't include the e2e testing infrastructure.
Also define a new npm "install:no-e2e" command, and modify the
post-merge hook to use it instead of the full install.
2021-01-26 12:23:24 +01:00
Roy Ho b7339a3114
Merge pull request #28931 from woocommerce/update/prepare-5.1
Prepare default branch for 5.1
2021-01-25 11:58:35 -08:00
Claudio Sanches ee28da5d30 Prepare default branch for 5.1 2021-01-25 16:38:22 -03:00
Ron Rennick d882433db4
Merge pull request #28661 from woocommerce/e2e-shopper-cart-apply-coupon
Add new e2e test shopper cart apply coupon
2021-01-25 13:34:23 -04:00
Christopher Allford 3ea6f8d5c5 @woocommerce/e2e-utils: updated fishery to 1.2
Now that my PR adding support for async creation has been merged we can
remove the AsyncFactory class we were using as a temporary workaround.
2021-01-25 09:33:46 -08:00
Ron Rennick 6134d0ffc8
Merge pull request #28867 from woocommerce/add/e2e-shopper-registered-checkout
E2E: add registered shopper checkout test
2021-01-25 12:52:48 -04:00
Ron Rennick 0eafe83be6 Merge branch 'master' into e2e-shopper-cart-apply-coupon 2021-01-25 12:24:19 -04:00
Scott Kingsley Clark ceb3a0d753
Fix fatal error problems by no longer adding false to the list of orders
By adding this prevention, it also stops fatal errors (calling method on non-object) from happening down the line when working with the orders list that is always assumed to be a proper order object.

Example error this prevents:

```
Fatal error: Uncaught Error: Call to a member function get_items() on bool in /wp-content/plugins/woocommerce/includes/class-wc-order.php on line 1902
```
2021-01-25 10:11:14 -06:00
Claudio Sanches ca4cc1d6f1
Merge pull request #28918 from woocommerce/fix/prep-492-release
Update changelogs for 4.9.2.
2021-01-25 11:16:02 -03:00
jahir07 fe38d20f51 Added instead of ->get_image_id() 2021-01-25 17:42:27 +06:00
Peter Fabian eec4c73701 Update changelogs for 4.9.2. 2021-01-25 12:19:55 +01:00
Mehrshad Darzi e67003b568
change attibutes to attributes 2021-01-23 15:39:01 +03:30
Roy Ho 0f4ccb836e
Merge pull request #28903 from woocommerce/fix/28888-2
Pass original price in filters to improve compatibility
2021-01-22 11:05:40 -08:00
Claudio Sanches 5d70d1919d Remove duplicated float 2021-01-22 15:43:21 -03:00
Claudio Sanches 1412d2ac96 Pass original price in filters to improve compatibility 2021-01-22 14:57:43 -03:00
Roy Ho 93c6ba02b9
Merge pull request #28900 from woocommerce/fix/28888
Fixed "Unsupported operand types" error when using empty strings
2021-01-22 08:15:47 -08:00
Albert Juhé Lluveras d896ed13e8 Remove unnecessary dots 2021-01-22 17:13:49 +01:00
Albert Juhé Lluveras 23db1a0e1f Fix typos in comments 2021-01-22 17:13:49 +01:00
Claudio Sanches 11ae40f66c Fixed "Unsupported operand types" error when using empty strings
Prevents wc_price() to throw PHP 8 warnings in case of an empty string
2021-01-22 12:58:45 -03:00
Claudio Sanches a07eea80c9
Merge pull request #28500 from woocommerce/fix/issue-27424
Defer nonce creation until displayed by WC Admin closes #27424
2021-01-22 11:16:05 -03:00
Ron Rennick 49be111d87
remove travis_retry from e2e test script (#28841) 2021-01-22 15:02:34 +01:00
Claudio Sanches 314794bd2d
Merge pull request #28896 from woocommerce/update/wc-admin-1.9.0-rc.3
update wc-admin to 1.9.0-rc.3
2021-01-22 10:58:19 -03:00
Ron Rennick 09dedb5520
bump version in E2E packages (#28823)
* bump version in core-tests, utils

* bump api package version, update changelog

* bump e2e-environment to 0.2.0
2021-01-22 14:22:33 +01:00
Leif Singer 7154b61283 move verifyOrder into merchant 2021-01-22 12:44:18 +01:00
Paul Sealock f7cc34779a update wc-admin to 1.9.0-rc.3 2021-01-22 23:44:27 +13:00
Leif Singer 1bafa98a66 move registered customer checkout test to general checkout tests 2021-01-22 11:16:54 +01:00
Leif Singer 197a126aab E2E: add registered shopper checkout test 2021-01-22 11:16:53 +01:00
Nestor Soriano ef9a11976c WC_Countries::country_exists no longer throws an exception. 2021-01-22 10:57:25 +01:00