Commit Graph

38449 Commits

Author SHA1 Message Date
And Finally de331ad893 Addressing feedback. Removed `!important` from `.addons-button-expandable` rule. Renamed `geowhitelist` and `geoblacklist` to `geo_allow_list` and `geo_block_list`. 2021-05-12 09:41:31 +01:00
And Finally e4d3b157ff Changed block name and CSS classnames to the more generic "promotion block". 2021-05-06 22:12:07 +01: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&section=_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
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
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
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
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
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 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
Joshua Flowers ee6acc5fb6 Bump WooCommerce Admin version to 2.2.2 2021-04-29 10:36:43 -04:00
Ron Rennick 7e91998f1e Merge branch 'trunk' into e2e/remove-unused-product-import 2021-04-29 10:45:00 -03:00
Ron Rennick b251bca7b6 Merge branch 'trunk' into try/individual-test-files 2021-04-29 09:54:59 -03:00
Ron Rennick a0a01d082c
Merge pull request #29788 from woocommerce/e2e/e2e-fix-checkout-create-account-test
Fix e2e test by adding new shipping zone
2021-04-29 09:51:48 -03:00
Veljko a6388d9c34 Fix test by adding new shipping zone 2021-04-29 12:27:46 +02:00
Veljko V 45177c0a6e
Merge pull request #29775 from woocommerce/try/repeatable-onboarding-flow
update onboarding flow modal checks
2021-04-29 11:49:05 +02:00
jonathansadowski ec2ecb51ec
Merge pull request #29787 from woocommerce/update/bump-wca-2.2.2
Bump WooCommerce Admin version to 2.2.2-rc.1
2021-04-28 19:50:27 -05:00
Joshua Flowers 5db461a21f Bump WooCommerce Admin version to 2.2.2-rc.1 2021-04-28 19:01:30 -04:00
Ron Rennick 6910b2080a Merge branch 'trunk' into try/individual-test-files 2021-04-28 14:28:27 -03:00
Ron Rennick f7447b12fa remove debug code 2021-04-28 14:27:32 -03:00
Greg c51fce6bb4
Merge pull request #29770 from woocommerce/fix/29769
user customer user for order search
2021-04-28 11:13:09 -06:00
Ron Rennick 08599ea206 use evalAndClick on add coupon button 2021-04-28 12:15:13 -03:00
Ron Rennick 779cfc89d4 Merge branch 'trunk' into try/repeatable-onboarding-flow 2021-04-28 10:18:39 -03:00
Bero 1d232ddd1f Merge branch 'trunk' into update/extensions-search-all-categories 2021-04-28 11:06:24 +02:00
jonathansadowski 8e45860732
Merge pull request #29706 from woocommerce/fix/27317-selectwoo-a11y
Update SelectWoo to 1.0.9 and take advantage of data-label support.
2021-04-27 16:23:08 -05:00
Ron Rennick 0d7388e9d4 update for feedback, better wait impementation 2021-04-27 17:45:21 -03:00
barryhughes 2a70009c89 Merge branch 'trunk' into fix/27317-selectwoo-a11y 2021-04-27 13:23:56 -07:00
Ron Rennick d67e340548 Merge branch 'trunk' into fix/order-search-test 2021-04-27 16:42:42 -03:00
Ron Rennick 6382ab0e66 give cart and checkout coupon tests unique titles 2021-04-27 16:27:35 -03:00
Ron Rennick 9369810682 update onboarding flow modal checks 2021-04-27 15:41:50 -03:00
Ron Rennick df3d3f2a37 return test name when there is no screenshot 2021-04-27 13:50:39 -03:00
Ron Rennick cf3387df87 Merge branch 'trunk' into e2e/remove-unused-product-import 2021-04-27 11:54:20 -03:00
Ron Rennick f3652e2def update both customer billing and shipping 2021-04-27 11:16:44 -03:00
Néstor Soriano 8095f7962c
Merge pull request #29766 from woocommerce/fix/29696
Remove set_backorders logic from external products closes #29696
2021-04-27 16:02:26 +02:00
Ron Rennick 70ff64d427 add the billing address to the customer account 2021-04-26 23:44:58 -03:00