Commit Graph

37838 Commits

Author SHA1 Message Date
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
Menaka S 3a53c31aea Do not return default values for first/last order times 2021-01-22 10:31:22 +05:30
Claudio Sanches 615bcfdbc2 Fixed repository URL 2021-01-22 00:18:07 -03:00
Claudio Sanches bac26b82b9 Fixed params 2021-01-21 23:54:00 -03:00
Claudio Sanches 56ee106f34 Add new message 2021-01-21 23:49:33 -03:00
Claudio Sanches 64f9b8e4b5 Introduced "add comment" step to pr-build workflow 2021-01-21 22:51:15 -03:00
Claudio Sanches 2123b6369e
Merge pull request #28878 from woocommerce/enhancement/28716
Create workflow for uploading zip file to every asset
2021-01-21 22:37:35 -03:00
roykho e86dc6a9ee
Remove html_entity_decode 2021-01-21 12:17:22 -08:00
roykho d550cce434
Addressed feedback by adding whitelisted nonce actions 2021-01-21 12:08:20 -08:00
Claudio Sanches db3a78d7c7
Merge pull request #28877 from woocommerce/fix/changelog
Add changes from 4.9 RC2 and 4.9.1 to changelog.
2021-01-21 17:05:10 -03:00
Kathy Daring 34bd50bce3 replace removeAttr with prop() 2021-01-21 10:22:30 -07:00
roykho 0bdf9a6341
Add in optional semicolon closes #28805 2021-01-21 06:27:44 -08:00
vedanshujain cf6cf3a35e Split builds into different files. 2021-01-21 17:35:12 +05:30
Vedanshu Jain 06c8fb0c45 Adds a workflow to be triggered when a PR is creted/updated:
1. Build a zip file for that PR.
2. Migrate all unit tests from Travis to Github Actions.
2021-01-21 17:30:12 +05:30
vedanshujain 1b1b87b918 Add changes from 4.9 RC2 and 4.9.1 to changelog. 2021-01-21 12:35:37 +05:30
zhongruige 665cb0b8cf Added tests around product search and editing a product 2021-01-20 16:19:07 -07:00
jonathansadowski 1f430fc980
Merge pull request #28827 from jffng/add/twentytwentyone-style-tweaks
Adjust spacing and font sizes for Twenty Twenty-One
2021-01-20 13:52:51 -06:00
roykho 21f872e766
Fix merge conflict 2021-01-20 07:10:47 -08:00
roykho 52a2ce0300
Move nonce prepartion into core utilizing filter hook from WC Admin 2021-01-20 07:06:23 -08:00
Claudio Sanches eb62ed1c9f
Merge pull request #28858 from woocommerce/fix/27791
Introduce new filter to avoid changing a method signature in WC_Email_New_Order
2021-01-19 18:28:50 -03:00
Claudio Sanches eca9ae7e4c Updated docblock 2021-01-19 18:07:52 -03:00