diff --git a/js/src/components/paid-ads/validateCampaign.js b/js/src/components/paid-ads/validateCampaign.js index 2662204568..a39222f296 100644 --- a/js/src/components/paid-ads/validateCampaign.js +++ b/js/src/components/paid-ads/validateCampaign.js @@ -42,7 +42,7 @@ const validateCampaign = ( values, opts ) => { amount: sprintf( /* translators: %1$s: minimum daily budget */ __( - 'Please make sure daily average cost is at least %s.', + 'Please make sure daily average cost is at least %s', 'google-listings-and-ads' ), formatAmount( minAmount ) diff --git a/js/src/components/paid-ads/validateCampaign.test.js b/js/src/components/paid-ads/validateCampaign.test.js index d92e87d712..a9ca4edb24 100644 --- a/js/src/components/paid-ads/validateCampaign.test.js +++ b/js/src/components/paid-ads/validateCampaign.test.js @@ -92,7 +92,7 @@ describe( 'validateCampaign', () => { const errors = validateCampaign( values, opts ); expect( errors ).toHaveProperty( 'amount' ); - expect( errors.amount ).toContain( 'is greater than Rs 30' ); + expect( errors.amount ).toContain( 'is at least Rs 30' ); } ); it( 'When a budget is provided and the amount is same than the minimum, should pass', () => { diff --git a/tests/e2e/specs/add-paid-campaigns/add-paid-campaigns.test.js b/tests/e2e/specs/add-paid-campaigns/add-paid-campaigns.test.js index e78a8193f0..e0ccc7cadb 100644 --- a/tests/e2e/specs/add-paid-campaigns/add-paid-campaigns.test.js +++ b/tests/e2e/specs/add-paid-campaigns/add-paid-campaigns.test.js @@ -393,7 +393,7 @@ test.describe( 'Set up Ads account', () => { await expect( page.getByText( - 'Please make sure daily average cost is greater than €4.00.' + 'Please make sure daily average cost is at least €4.50' ) ).toBeVisible(); } ); diff --git a/tests/e2e/specs/setup-mc/step-4-complete-campaign.test.js b/tests/e2e/specs/setup-mc/step-4-complete-campaign.test.js index b3ac690099..62bba6b668 100644 --- a/tests/e2e/specs/setup-mc/step-4-complete-campaign.test.js +++ b/tests/e2e/specs/setup-mc/step-4-complete-campaign.test.js @@ -231,7 +231,7 @@ test.describe( 'Complete your campaign', () => { .locator( '.components-base-control__help' ) .textContent(); await expect( error ).toBe( - 'Please make sure daily average cost is greater than NT$29.00.' + 'Please make sure daily average cost is at least NT$30.00' ); } );