And Finally
e4d3b157ff
Changed block name and CSS classnames to the more generic "promotion block".
2021-05-06 22:12:07 +01:00
Tim Howe
f179ff6741
Added dates_are_gmt parameter to allow the uses of post_date_gmt column with the before and after parameters for the order RESTAPI
2021-05-06 17:06:06 -04:00
Yehuda Hassine
ab6404f6f1
Remove Curaçao postcode
2021-05-06 23:02:18 +03:00
Khoi Nguyen
aa913b59ed
Set loop prop to widget products to set condition on single product page
2021-05-06 22:22:58 +07:00
TimBHowe
98af7209da
Added the 'after_gmt' and 'before_gm' parameters
2021-05-06 10:58:27 -04:00
And Finally
21b4801cc1
Fixing doc comment for new method.
2021-05-06 15:40:02 +01:00
And Finally
2b053d4586
Added docblock comment for `$section` param.
2021-05-06 15:22:53 +01:00
And Finally
f1a69cb4af
Added comment to new `output_ad_block` method. Removed differences introduced by PhpStorm autoformat.
2021-05-06 15:16:49 +01:00
And Finally
3fa233872c
Added `output_ad_block` method to `WC_Admin_Addons` and CSS rules to render a WooCommerce Payments ad banner at the top of the "Featured" section of the WC Core addons page, `wp-admin/admin.php?page=wc-addons§ion=_featured`. This is to fulfil the requirements of WooCommerce.com issue https://github.com/Automattic/woocommerce.com/issues/9860 .
...
We output the block if
- The user has permissions to install plugins.
- Their location is in one of the countries identified in a `geowhitelist`.
- WooCommerce Payments is not already active.
2021-05-06 12:55:30 +01:00
barryhughes
7ea5c7501f
Test for the presence of 3 or more args (not 2 or more). | #29124
2021-05-05 11:43:14 -07:00
Marco Almeida
f7a4aba2cb
Check for needs_payment() instead of has_status( 'pending' )
...
If an order needs payment, it should include the payment link, no matter the status.
Fixes #29832
2021-05-05 18:21:54 +01:00
Ron Rennick
0d59195657
Merge pull request #29735 from woocommerce/e2e/e2e-merchant-initiate-wccom
...
Added new e2e test to initiate WCCOM connection
2021-05-05 10:35:01 -03:00
Nestor Soriano
9dcdfddc15
Fix table creation detection in DataRegeneratorTest
2021-05-05 11:50:43 +02:00
Nestor Soriano
f53f959d03
Fix the usage of FakeQueue in DataRegeneratorTest.
...
Also update the doc comment of FakeQueue itself on how to use it.
2021-05-05 11:11:36 +02:00
Veljko
ce1e2f260d
Rename the test file
2021-05-05 09:29:38 +02:00
Ron Rennick
f51dfdfd56
Merge branch 'trunk' into e2e/e2e-merchant-initiate-wccom
2021-05-04 22:28:09 -03:00
Nestor Soriano
c4e7074c70
Add unit tests for the DataRegenerator class
2021-05-04 16:15:16 +02:00
Nestor Soriano
4d13b0ca07
ExtendedContainer::replace now allows registering anonymous classes.
2021-05-04 16:14:34 +02:00
Nestor Soriano
6820b6e519
Add the WC_Queue::reset_instance method
2021-05-04 16:13:48 +02:00
Greg
c354a67292
Finish work on order; removed unused variable from test
2021-05-03 20:21:00 -06:00
Greg
e9febd57ec
Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/27873
2021-05-03 13:58:55 -06:00
Greg
9347c728e9
Merge pull request #29761 from woocommerce/try/individual-test-files
...
Switch to individual test files
2021-05-03 13:37:52 -06:00
roykho
2e3156d436
Use proper skip test method instead of return
2021-05-03 06:33:09 -07:00
Nestor Soriano
42245ed92a
Add unit tests for LookupDataStore::update_data_for_product (variable products)
2021-05-03 11:14:33 +02:00
Greg
b9bd336b0f
Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/27873
2021-05-02 15:24:22 -06:00
Kapil Paul
4ae714de56
fix: coding-style-in-class-wc-email.php
2021-05-02 00:52:38 +06:00
Ron Rennick
7b23b8c8aa
two more minor E2E fixes
...
- add shipping zone for first checkout test
- increase wait time for product import to complete
2021-04-30 16:26:51 -03:00
Ron Rennick
946f8ec903
Merge branch 'trunk' into try/individual-test-files
2021-04-30 15:13:56 -03:00
Claudio Sanches
a54df37363
Merge pull request #29694 from bgrgicak/update/extensions-search-all-categories
...
Extension search always search all categories
2021-04-30 12:29:23 -03:00
Ron Rennick
2c72bf8a9f
Merge pull request #29734 from woocommerce/e2e/e2e-merchant-add-simple-product
...
Add new e2e scenario and update the existing - Merchant - Add Simple Product
2021-04-30 10:01:27 -03:00
Ron Rennick
43859058ec
run cart/checkout setup tests first
2021-04-30 09:04:48 -03:00
Nestor Soriano
467af94b1d
Add unit tests for LookupDataStore::update_data_for_product (simple products)
...
Also:
- Add the FakeQueue class
- Fix LookupDataStore, it was using a hardcoded "wp_" lookup table name
2021-04-30 12:10:25 +02:00
Greg
b61fe9859f
Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix/27873
2021-04-29 16:13:13 -06:00
Ron Rennick
98f7a8562d
Merge branch 'trunk' into try/individual-test-files
2021-04-29 16:29:35 -03:00
Ron Rennick
4b99a24af2
Merge pull request #29728 from woocommerce/e2e/e2e-update-checkout-naming
...
Update test naming for the Cart tests to include adding product from shop page
2021-04-29 15:49:18 -03:00
Ron Rennick
4a78541cf5
merge trunk
2021-04-29 15:23:26 -03:00
Ron Rennick
5d4597c31c
Merge branch 'trunk' into e2e/e2e-merchant-add-simple-product
2021-04-29 15:18:14 -03:00
Greg
3aca2b9248
Merge pull request #29776 from woocommerce/e2e/coupon-test-names
...
give cart and checkout coupon tests unique titles
2021-04-29 12:03:16 -06:00
Greg
69bab1a40c
Merge pull request #29774 from woocommerce/e2e/no-screenshot-title
...
return test name when there is no screenshot
2021-04-29 11:59:56 -06:00
Greg
c47009c8f9
Merge pull request #29763 from woocommerce/e2e/remove-unused-product-import
...
remove unused product import function from jest setup script
2021-04-29 11:58:27 -06:00
Greg
1957a87e9a
Merge pull request #29683 from woocommerce/fix/order-search-test
...
add waits for idle in add product to order
2021-04-29 11:28:59 -06:00
Ron Rennick
a1be8f9969
WIP orders rest repository
2021-04-29 14:10:50 -03:00
Ron Rennick
d5d723f6d8
Merge branch 'trunk' into fix/27873
2021-04-29 13:48:07 -03:00
Ron Rennick
00f7e30db5
merge trunk
2021-04-29 13:47:25 -03:00
jonathansadowski
c787c4b27d
Merge pull request #29791 from woocommerce/update/bump-woocommerce-admin-2.2.2
...
Bump WooCommerce Admin version to 2.2.2
2021-04-29 10:43:06 -05:00
Nestor Soriano
e58d26f377
Fix: using "current" on a possibly "false" value.
2021-04-29 16:46:41 +02:00
Joshua Flowers
ee6acc5fb6
Bump WooCommerce Admin version to 2.2.2
2021-04-29 10:36:43 -04:00
roykho
ccef7c46a3
Restore testing version
2021-04-29 07:25:26 -07:00
Ron Rennick
7e91998f1e
Merge branch 'trunk' into e2e/remove-unused-product-import
2021-04-29 10:45:00 -03:00
roykho
87047c77df
Limit the new refund restock logic to order version 5.4+
2021-04-29 06:30:53 -07:00