Commit Graph

39787 Commits

Author SHA1 Message Date
Niels Lange 7b88cb09a1 Add troubleshooting section to running unit test section 2021-10-19 17:45:14 +07:00
Néstor Soriano 75c341494c
Merge pull request #30958 from woocommerce/fix/28072
Warn users of shipping rates to test for existence of meta_data correctly.
2021-10-19 12:32:24 +02:00
Peter Fabian 7a6c320fcc
Make the message more clear. 2021-10-19 11:45:42 +02:00
Peter Fabian 4ea28030f2
Warn users of shipping rates to test for existence of meta_data correctly.
As per the info in the issue itself, using `isset()` gives incorrect result all the time, so warn developers about the problem.
2021-10-19 11:45:42 +02:00
Christopher Allford 3611d46437
Merge pull request #30945 from woocommerce/monorepo
Change WooCommerce Repository Into Monorepo
2021-10-18 15:16:26 -07:00
Paul Sealock ffa595ac40 add working directory path to build workflow 2021-10-19 10:46:11 +13:00
roykho 27127ea1fc Fix directory path for CI workflow 2021-10-19 10:35:47 +13:00
roykho d82b422f37 Add default directory to unit tests 2021-10-19 10:35:46 +13:00
roykho 2193082c01 Add default working directory 2021-10-19 10:35:46 +13:00
roykho 0b3a8a0557 Move phpunit.xml into plugins/woocommerce structure 2021-10-19 10:35:46 +13:00
roykho e01ac7f1fb Add default path to work with 2021-10-19 10:35:46 +13:00
roykho 309468ff19 Add more paths for more steps 2021-10-19 10:35:46 +13:00
roykho 54e922a07b Update workflow code coverage path 2021-10-19 10:35:46 +13:00
Paul Sealock 926685448e JS formatting files 2021-10-19 10:35:46 +13:00
Paul Sealock a837deea64 Add wp-env 2021-10-19 10:35:46 +13:00
Paul Sealock ef015f740f git mv a few folders 2021-10-19 10:35:45 +13:00
jonathansadowski 37205ff4e0
Merge pull request #30931 from woocommerce/fix/missing-wc-ajax-callbacks
Remove defunct AJAX event names.
2021-10-15 13:11:55 -05:00
Ron Rennick 7486c0540a
Merge pull request #30942 from woocommerce/fix/update-api-tests-package-lock
Update package lock files for API core tests to use Jest 25 instead of 27
2021-10-15 11:36:33 -03:00
Peter Fabian 56b3c26780
Merge pull request #30934 from lukecav/trunk
Update readme.txt related to WooCommerce Payments.
2021-10-15 12:36:09 +02:00
Peter Fabian 60496c4b45
Merge pull request #30947 from woocommerce/preparation/5.9-beta
Release preparation: 5.9-beta.1
2021-10-15 11:28:04 +02:00
Peter Fabian 1b354328ff
Merge pull request #30928 from woocommerce/fix/30431
Fix return type documentation.
2021-10-15 10:52:29 +02:00
Peter Fabian 7c1134b061
Merge pull request #30930 from woocommerce/update/blocks-to-6.1.0
Update WooCommerce Blocks to 6.1.0
2021-10-15 10:46:35 +02:00
Peter Fabian 8c50b848d0
Merge branch 'trunk' into update/blocks-to-6.1.0 2021-10-15 10:30:50 +02:00
Peter Fabian cc1ced426f Merging WC Admin bump from trunk to resolve composer conflict. 2021-10-15 10:28:59 +02:00
Peter Fabian 91bba72e58
Merge pull request #30951 from woocommerce/update/woocommerce-admin-2.8.0-rc.1
Bump WooCommerce Admin version to 2.8.0-rc.2
2021-10-15 10:19:54 +02:00
Peter Fabian 19dea4df17
Merge branch 'trunk' into update/woocommerce-admin-2.8.0-rc.1 2021-10-15 09:59:28 +02:00
Nestor Soriano 93ebea27d0
Add changelog entries for Admin and Blocks 2021-10-15 09:57:25 +02:00
Nestor Soriano 366559a169
Add changelog/readme entries for Woo 5.9 (Woo core only) 2021-10-15 09:43:08 +02:00
Néstor Soriano d5b874a7fe
Merge pull request #30900 from woocommerce/update/marketplace-featured-page
Revamp Featured page in WooCommerce Marketplace
2021-10-15 09:22:19 +02:00
Matt Sherman 3b6df40cd9 Bump WooCommerce Admin version to 2.8.0-rc.2 2021-10-14 20:54:02 -04:00
Greg ac17d600f4 Use err response status 2021-10-14 17:17:50 -06:00
Greg 684706f857 Revert telemtry test changes 2021-10-14 17:03:41 -06:00
Greg cccf81edf7 Update telemetry test 2021-10-14 16:11:59 -06:00
Greg 8da357f1dc Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into fix/update-api-tests-package-lock 2021-10-14 16:10:30 -06:00
Greg 7fe341f144 Update statusCode to status 2021-10-14 15:45:39 -06:00
Timur Gogolev 7cbdd71af6 Revert get_featured method 2021-10-14 23:13:35 +03:00
Timur Gogolev 05d774cdb5 Fix after merge with trunk 2021-10-14 23:10:45 +03:00
Timur Gogolev 89a19c2544 Merge remote-tracking branch 'origin/trunk' into update/marketplace-featured-page 2021-10-14 23:07:21 +03:00
Matt Sherman 3bca6b83bc Bump WooCommerce Admin version to 2.8.0-rc.1 2021-10-14 15:00:46 -04:00
Greg 2663eb1955 Updated package json from npm i 2021-10-14 12:07:07 -06:00
Ron Rennick 990f7055c4
Merge pull request #30913 from lanej0/fix/quote-string-for-docker-compatibility
Quote WORDPRESS_TITLE value
2021-10-14 14:25:05 -03:00
jonathansadowski aec78d9236
Merge pull request #30415 from woocommerce/add/wctracker-mobile-data
Add mobile data to WCTracker
2021-10-14 11:03:29 -05:00
Josh Betz 42a6e85e0e Update tests to use new endpoint 2021-10-14 09:48:56 -05:00
Josh Betz 45ac35b97b Add docblock for get_telemetry_controllers 2021-10-14 09:48:56 -05:00
Josh Betz e7eba52ba5 Change endpoint to wc-telemetry/tracker
Since this endpoint isn't a publicly documented endpoint, we'll keep it
out of the wc/v3 namespace. Instead we're introducing a new wc-telemetry
namespace. The name of the endpoint then is updating to tracker.

The wc-telemetry endpoint is unversioned for consistency with
wc-analytics and because it's not publicly documented.
2021-10-14 09:48:55 -05:00
Josh Betz eceb3f0df4 Fix the docblock copy pasta 2021-10-14 09:48:55 -05:00
Josh Betz 185313fe75 Fix the permission check for telemetry data
Any logged in user should be able to post telemetry data
2021-10-14 09:48:55 -05:00
Josh Betz 56a82a0b9d lint 2021-10-14 09:48:55 -05:00
Josh Betz 7920bbe1c0 Additional invalid tests cases
Use it.each to run the same test with various invalid test data
2021-10-14 09:48:55 -05:00
Josh Betz dc5e8af63e Add e2e tests for telemetry endpoint
* Verify that missing parameters will result in errors
* Verify that passing correct parameters will result in 200
2021-10-14 09:48:54 -05:00