From 0cc9f7048921b41c958261e2034a2eadf8d9114d Mon Sep 17 00:00:00 2001 From: Luigi Date: Wed, 26 Apr 2023 10:04:04 +0200 Subject: [PATCH 1/2] Rename Add To Cart Form to Add To Cart Options --- .../atomic/blocks/product-elements/add-to-cart-form/block.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/atomic/blocks/product-elements/add-to-cart-form/block.json b/assets/js/atomic/blocks/product-elements/add-to-cart-form/block.json index caebdacb115..d99c824e2e7 100644 --- a/assets/js/atomic/blocks/product-elements/add-to-cart-form/block.json +++ b/assets/js/atomic/blocks/product-elements/add-to-cart-form/block.json @@ -1,7 +1,7 @@ { "name": "woocommerce/add-to-cart-form", "version": "1.0.0", - "title": "Add to Cart form", + "title": "Add to Cart Options", "description": "Display a button so the customer can add a product to their cart. Options will also be displayed depending on product type. e.g. quantity, variation.", "category": "woocommerce", "keywords": [ "WooCommerce" ], From d006dfcb4c99d9c9b1bd4dd96c6ef75504d9131c Mon Sep 17 00:00:00 2001 From: Luigi Date: Thu, 27 Apr 2023 16:48:56 +0200 Subject: [PATCH 2/2] fix E2E tests --- tests/e2e/specs/backend/add-to-cart-form.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/specs/backend/add-to-cart-form.test.js b/tests/e2e/specs/backend/add-to-cart-form.test.js index 9748e6ae56b..bcc5b1b9f50 100644 --- a/tests/e2e/specs/backend/add-to-cart-form.test.js +++ b/tests/e2e/specs/backend/add-to-cart-form.test.js @@ -20,7 +20,7 @@ import { } from '../../utils.js'; const block = { - name: 'Add to Cart form', + name: 'Add to Cart Options', slug: 'woocommerce/add-to-cart-form', class: '.wc-block-add-to-cart-form', };