Commit Graph

38051 Commits

Author SHA1 Message Date
Peter Fabian 8566a79da0 Pull out the constant to a globally accessible place so that it can be reused. 2021-02-24 14:29:45 +01:00
Claudio Sanches e2478b7c76 Use product already loaded 2021-02-23 21:10:34 -03:00
Claudio Sanches c86b0c578a Fixed copy and paste 2021-02-23 19:55:54 -03:00
Tam Mullen 65443d923b
Merge pull request #29092 from woocommerce/add/e2e-shopper-variable-product-updates
Added new tests for Shopper / Product / Variable Product Info updates depending on variation
2021-02-23 21:43:31 +00:00
Ron Rennick 9cf001e403 separate price properties in api package 2021-02-23 16:44:36 -04:00
Ron Rennick ddcb8ed744
Merge pull request #29207 from Marcuzz/fix/e2e-env-custom-init-file
Only use customInitFile in e2e-environment if it's a string
2021-02-23 15:39:27 -04:00
Claudio Sanches 76e1ba4bf0 Validate variation ID while adding products to the cart 2021-02-23 16:27:57 -03:00
Marcus 3201a99995 fix: only use customInitFile in e2e if it's a string
in WSL2 the second argument is an instance of Command and can not be used with path.resolve
2021-02-23 20:12:51 +01:00
Ron Rennick 404e3aeb7c update changelog, remove sale price from test 2021-02-23 14:44:47 -04:00
Peter Fabian 313ea8541c Remove compatibility checks for major version.
In addition to #28840, there are other places where we make use of compatibility check with major versions. I've discovered 2:
- update through /wp-admin/update-core.php
- force disabling auto-updates if there are any extensions that haven't declared their compatibility with WC 5.0

This change updates both places to be in line with the changes done in #28840.
2021-02-23 13:27:06 +01:00
Peter Fabian 35d4ee4073
Merge pull request #28699 from woocommerce/fix/absolute-download-paths
Prevent local relative downloadable products to be treated as "absolute"
2021-02-23 11:50:34 +01:00
Ron Rennick dcb76a3047 use common buildURL function 2021-02-23 04:52:43 -04:00
Ron Rennick 116dccd12a add basic external product api test 2021-02-23 04:17:45 -04:00
Moon 5c99233905 Minor fixes
* Removed extra double quotation from the image tag

* Fixed typo in the init() method

* Moved init() method body into the constructor -- a separate method is not necessary
2021-02-22 20:33:02 -08:00
Rasmy Nguyen 7a4b54ad38 Add section to tracks event props
This adds the Extenstions tab to the event props so we can determine
which tab merchants are installing wcpay from.
2021-02-23 12:25:40 +09:00
Rasmy Nguyen cbb1a540bd Change hook name and add id param to track method
This changes the addon install hook to match the other hooks in the
extensions tracking class. This also adds an addon_id param to the
callback associated with this hook so we can extend this to other
plugins in the future.
2021-02-23 11:34:28 +09:00
Rasmy Nguyen 4ad1465fe3 Add tracks event for WCPay install via addons page
This adds a tracks event for WooCommerce Payments installs via the
wc-addons page.
2021-02-23 11:34:28 +09:00
Moon 781c5e24d7 Status dashboard widget should be rendered only if onboarding tasks have been completed or hidden 2021-02-22 15:29:47 -08:00
Ron Rennick cc86f19dec fix up some in code docs 2021-02-22 17:16:17 -04:00
Ron Rennick 2e2b53cd7d add external product type to api package 2021-02-22 17:12:30 -04:00
Greg 3830dcefba
Update CHANGELOG.md
Fixed minor type in `CHANGELOG.md`
2021-02-22 13:13:04 -07:00
zhongruige 15825a5a13 Code review feedback 2021-02-22 13:09:11 -07:00
zhongruige 75aefa6325 Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-shopper-variable-product-updates 2021-02-22 13:07:43 -07:00
Claudio Sanches f41250df39 Added unit test for cart validation 2021-02-22 13:14:43 -03:00
Néstor Soriano 68dd901b65
Merge pull request #29051 from nielslange/update/#28724 2021-02-22 16:02:58 +01:00
Fernando f613bbaeba
Merge pull request #29105 from woocommerce/fix/disable-merchant-email-notes
Merchant email notes now are turned off by default
2021-02-22 09:48:00 -03:00
Christopher Allford 5e771d8e4f Started Converting Woo Page Dropdowns
Since the page selection dropdowns in the Advanced settings area are
populated on load we can end up taking a very long time to load on
shops that have lots of pages. This commit adds page search support
to wooSelect and starts converting the pages to use it.
2021-02-19 15:28:07 -08:00
Greg 5ca996b44a
Merge pull request #29079 from woocommerce/try/handle-confirm-dialog
add delay to confirm dialogs on refund test
2021-02-19 15:58:58 -07:00
barryhughes 761f155fc3 Avoid/minimize wc-ajax requests when `geolocation_ajax` is enabled | #26973 2021-02-19 14:50:59 -08:00
Tam Mullen e937a92723
Merge pull request #28869 from woocommerce/add/e2e-merchant-product-views
Added tests around product search and editing a product
2021-02-19 22:34:31 +00:00
Greg 6f9c00cd1c
Merge pull request #29118 from woocommerce/packages/api/product-properties
Separate product properties into property groups
2021-02-19 14:24:14 -07:00
Veljko 4915785684 Fix flakiness in test 2021-02-19 19:38:02 +01:00
Veljko b1ed9e65d8 Fix failing build on TravisCI 2021-02-19 18:59:24 +01:00
Veljko 85bda2c8f2 Fix flakiness in test 2021-02-19 18:16:54 +01:00
Claudio Sanches b6fe772d54
Merge pull request #29109 from woocommerce/update/add-tracking-to-status-widget
Add tracking to WooCommerce Status widget
2021-02-18 20:03:50 -03:00
Claudio Sanches 881159dd31 Indent with tabs 2021-02-18 20:02:56 -03:00
Claudio Sanches ddc71d71a6
Merge pull request #27242 from jgreys/fix/27021
Checkout: phone number validation fix #27021
2021-02-18 19:31:33 -03:00
Veljko bf46077f55 Fix invalid spaces 2021-02-18 22:48:13 +01:00
Moon ba2f97af62
Update assets/js/admin/wc-status-widget.js
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-18 13:17:27 -08:00
Moon ab8d29ea0c
Update assets/js/admin/wc-status-widget.js
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-18 13:17:22 -08:00
Veljko 10a5c8df63 Update components missing params 2021-02-18 22:05:14 +01:00
Veljko a77a4f264e Add new e2e test merchant order searching 2021-02-18 21:53:30 +01:00
Claudio Sanches 8d4d372b86 Prepare default branch for 5.2-dev 2021-02-18 17:32:50 -03:00
Lourens Schep 966aca59ad Removed external class and moved logic to private functions 2021-02-18 16:05:00 -04:00
Barry Hughes 9f8145cd15
Merge pull request #28078 from woocommerce/fix/27949
Delay the registration of data exporters and erasers | #27949
2021-02-18 11:31:08 -08:00
Lourens Schep 4663d31f66 Fix some formatting changes 2021-02-18 12:01:52 -04:00
Lourens Schep 0fc81a27fc Add tests 2021-02-18 12:01:52 -04:00
Lourens Schep 136e82ee01 Added a v2 report class that makes use of the wc-analytics if wc admin is not disabled 2021-02-18 12:01:52 -04:00
Peter Fabian a9da927049
Merge pull request #27277 from filipecorrea/26686-invalid-refund
Fix invalid refund amount error when no decimals
2021-02-18 14:59:08 +01:00
Veljko eabee48a32 Remove waits and reorder test 2021-02-18 12:49:04 +01:00