Nestor Soriano
fae00e2bdf
Make the refunds creation REST API behave more as documented
...
- Allow the list of line items to be a non-associative array
where each item is identified by an "id" field
- Same for taxes inside line items, specify amount to refund in
a "refund_total" key as in the case of line items
- Allow "quantity" keys as synonyms of "qty"
Also calculate "amount" automatically if missing and when all the
line items and taxes have a valid "refund_total" key.
2021-02-11 09:51:13 +01:00
Veljko V
56cb17c9f7
Merge branch 'master' into e2e-shopper-browse-search-sort
2021-02-11 09:05:21 +01:00
Roy Ho
986b4fe0b9
Merge pull request #29089 from woocommerce/fix/issue-29087
...
Type cast floats to prevent string addition errors in PHP 8 closes #2…
2021-02-10 19:16:53 -08:00
Greg
6d16e6831a
Merge pull request #29064 from woocommerce/add/e2e-merchant-order-customr-payment-page
...
Add e2e test: merchant order customer payment page
2021-02-10 16:01:47 -07:00
Claudio Sanches
734f54c0fb
Merge pull request #29070 from woocommerce/enhancement/28924
...
Add CI for code coverage and code sniff on GitHub actions.
2021-02-10 19:50:13 -03:00
Claudio Sanches
69c5d428a2
Merge pull request #29095 from woocommerce/fix/conditional-wc-admin
...
Check if WC Admin is active before showing message
2021-02-10 19:45:34 -03:00
Roy Ho
84c1e64a1d
Merge pull request #29036 from mehul0810/issue/28992
...
Removed extra closing brace ) from the Zone regions help text.
2021-02-10 13:52:33 -08:00
Veljko
5a09000058
Merge branch 'master' into e2e-shopper-browse-search-sort
2021-02-10 22:31:42 +01:00
roykho
315c4de5c3
Check if WC Admin is active before showing message
2021-02-10 13:21:35 -08:00
Lourens Schep
5c6331593a
Remove unnecessary wp-admin from urls
2021-02-10 16:42:04 -04:00
Matt Sherman
cca38a577e
Use SVG instead of CSS/font for WooCommerce icon
2021-02-10 15:12:47 -05:00
zhongruige
0fea99f6be
Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-merchant-product-views
2021-02-10 12:59:13 -07:00
zhongruige
27599e82cb
Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-shopper-variable-product-updates
2021-02-10 12:58:17 -07:00
Greg
dcbbde1ce6
Merge pull request #29082 from woocommerce/e2e/e2e-fix-flaky-cart-coupons-test
...
Make cart coupons test more granular
2021-02-10 12:57:35 -07:00
Ron Rennick
cd8826e85f
Merge pull request #29037 from woocommerce/packages/update-e2e-docs
...
Update E2E docs
2021-02-10 15:29:41 -04:00
Lourens Schep
2db09d410b
Change widget stock links to new analytics page when wc_admin is not disabled
2021-02-10 15:04:04 -04:00
zhongruige
8f81ded6c0
Added new tests for shopper variable product updates
2021-02-10 11:27:50 -07:00
roykho
93e528f8ea
Type cast floats to prevent string addition errors in PHP 8 closes #29087
2021-02-10 10:06:25 -08:00
zhongruige
642c3aa40f
Merge branch 'master' of github.com:woocommerce/woocommerce into add/e2e-merchant-product-views
...
# Conflicts:
# tests/e2e/core-tests/CHANGELOG.md
# tests/e2e/utils/README.md
2021-02-10 09:19:14 -07:00
Veljko
389075256c
Merge branch 'master' into e2e/e2e-fix-flaky-cart-coupons-test
2021-02-10 14:00:14 +01:00
Veljko
f3b18880f0
Add waits to avoid flakiness
2021-02-10 13:22:04 +01:00
Veljko
c7cf42020f
Remove unnecessary code from test
2021-02-10 12:29:56 +01:00
Vedanshu Jain
6b862e12e5
Merge pull request #28940 from woocommerce/install-e2e-only-explicitly
...
Improve the WooCommerce build process
2021-02-10 16:26:04 +05:30
Veljko
c27aa94a80
Updated cart coupons test
2021-02-10 11:51:08 +01:00
Nestor Soriano
e82ab487b6
validate_posted_data: check if we actually need to validate the shipping country.
2021-02-10 10:05:24 +01:00
Ron Rennick
93f8c067fe
add delay to confirm dialogs on refund test
2021-02-09 23:08:29 -04:00
zhongruige
5d228cc4ab
Code review feedback
2021-02-09 13:35:20 -07:00
Veljko V
ef5221e307
Merge branch 'master' into e2e-shopper-browse-search-sort
2021-02-09 18:32:58 +01:00
vedanshujain
4a39b00a2e
Run build action only for WC PRs because forks wont have permission to post comment.
2021-02-09 16:20:00 +05:30
vedanshujain
8963755442
Use bash instead of sh
2021-02-09 16:15:48 +05:30
vedanshujain
3e0fc5e89b
Add CI for code coverage and code sniff on GitHub actions.
2021-02-09 16:09:56 +05:30
Nestor Soriano
87d04b8d64
Remove no longer relevant exception doc comment
2021-02-09 10:07:43 +01:00
zhongruige
dfeea59f6b
Minor wording change
2021-02-08 17:03:19 -07:00
zhongruige
b52c31063f
Added new tests for customer order page in the merchant orders flow
2021-02-08 17:01:21 -07:00
Ron Rennick
c477644d2d
Merge pull request #28906 from woocommerce/package/utils/update/factory-dependency
...
@woocommerce/e2e-utils: updated fishery to 1.2
2021-02-08 19:03:52 -04:00
Greg
73c2eb20a0
Merge pull request #29060 from woocommerce/packages/ignore-default-json
...
allow env default.json to be untracked in git
2021-02-08 15:58:04 -07:00
Greg
36c9e951e5
Merge pull request #29059 from woocommerce/fix/e2e/get-app-name
...
fix import in get-app-name.js
2021-02-08 15:00:38 -07:00
Ron Rennick
493a8934be
Merge branch 'master' into package/utils/update/factory-dependency
2021-02-08 16:51:02 -04:00
Ron Rennick
099b1c486a
allow env default.json to be untracked in git
2021-02-08 16:12:10 -04:00
Ron Rennick
d2fd592819
fix import in get-app-name.js
2021-02-08 15:57:58 -04:00
Claudio Sanches
81cdb4df94
Merge pull request #29057 from woocommerce/update/jetpack-autoloader
...
Updated the Jetpack Autoloader to 2.9.1
2021-02-08 16:09:24 -03:00
Claudio Sanches
926af1d3c3
Merge pull request #29054 from Dan-Q/master
...
Change color of WooCommerce logo from old to new purple
2021-02-08 15:54:31 -03:00
Christopher Allford
2a1c322cbc
Updated the autoloader to 2.9.1
2021-02-08 10:43:48 -08:00
Greg
eb2491b93b
Merge pull request #28855 from woocommerce/e2e-shopper-grouped-product
...
Add new e2e test shopper grouped product
2021-02-08 11:34:40 -07:00
Nestor Soriano
26f71af0a9
Fix in the logic of 'validate_checkout' regarding non-existing countries.
2021-02-08 16:20:33 +01:00
Nestor Soriano
9e2776bdfa
Use 'isset' instead of 'array_key_exists' for 'country_exists'.
2021-02-08 15:58:02 +01:00
Nestor Soriano
07f3d9dee6
Add unit tests for the WC_Checkout class.
2021-02-08 15:49:38 +01:00
Nestor Soriano
70202c35bd
Move country validation to 'validate_posted_data'.
...
Also, when shipping to billing address don't show the error twice,
and show the "we don't ship to X" error only if the country actually
exists (if it doesn't then we'll have shown the "X is not a valid
country code" already).
2021-02-08 15:37:50 +01:00
Dan Q
7d0e67c12e
Change WooCommerce logo color to new purple.
...
Re #29053 .
2021-02-08 11:57:02 +00:00
Dan Q
be04cce715
Merge pull request #1 from woocommerce/master
...
Merge from head master
2021-02-08 11:55:43 +00:00