From 6755c3365228867f77b995d9da197a27b01918f0 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Fri, 13 Jan 2023 12:44:19 +0000 Subject: [PATCH] update test strings --- .../checkout-contact-information-block/block.tsx | 2 +- .../e2e/specs/shopper/cart-checkout/checkout.test.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/js/blocks/checkout/inner-blocks/checkout-contact-information-block/block.tsx b/assets/js/blocks/checkout/inner-blocks/checkout-contact-information-block/block.tsx index 13faff429de..7b62d52d860 100644 --- a/assets/js/blocks/checkout/inner-blocks/checkout-contact-information-block/block.tsx +++ b/assets/js/blocks/checkout/inner-blocks/checkout-contact-information-block/block.tsx @@ -73,7 +73,7 @@ const Block = (): JSX.Element => { if ( ! isEmail( inputObject.value ) ) { inputObject.setCustomValidity( __( - 'Please provide a valid email address', + 'Please enter a valid email address', 'woo-gutenberg-products-block' ) ); diff --git a/tests/e2e/specs/shopper/cart-checkout/checkout.test.js b/tests/e2e/specs/shopper/cart-checkout/checkout.test.js index 3265b1880f4..39a76e0c2fc 100644 --- a/tests/e2e/specs/shopper/cart-checkout/checkout.test.js +++ b/tests/e2e/specs/shopper/cart-checkout/checkout.test.js @@ -145,37 +145,37 @@ describe( 'Shopper → Checkout', () => { await expect( page ).toMatchElement( '#email ~ .wc-block-components-validation-error p', { - text: 'Please provide a valid email address', + text: 'Please enter a valid email address', } ); await expect( page ).toMatchElement( '#billing-first_name ~ .wc-block-components-validation-error p', { - text: 'Please fill', + text: 'Please enter', } ); await expect( page ).toMatchElement( '#billing-last_name ~ .wc-block-components-validation-error p', { - text: 'Please fill', + text: 'Please enter', } ); await expect( page ).toMatchElement( '#billing-address_1 ~ .wc-block-components-validation-error p', { - text: 'Please fill', + text: 'Please enter', } ); await expect( page ).toMatchElement( '#billing-city ~ .wc-block-components-validation-error p', { - text: 'Please fill', + text: 'Please enter', } ); await expect( page ).toMatchElement( '#billing-postcode ~ .wc-block-components-validation-error p', { - text: 'Please fill', + text: 'Please enter', } ); } );