Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ describe( 'BreakdownNoticeArea', () => {

expect(
getByText(
/Have multiple forms, or Using both WooCommerce and Easy Digital Downloads/
/Have multiple forms, or using both WooCommerce and Easy Digital Downloads/
)
).toBeInTheDocument();
} );
Expand All @@ -699,7 +699,7 @@ describe( 'BreakdownNoticeArea', () => {

expect(
getByText(
'Using both WooCommerce and Easy Digital Downloads to sell products or services?'
'See how different plugins contribute to your goals'
)
).toBeInTheDocument();
} );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe( 'useSiteGoalsBreakdownNoticeCopy', () => {
);

expect( result.current.title ).toBe(
'Using both WooCommerce and Easy Digital Downloads to sell products or services?'
'See how different plugins contribute to your goals'
);
} );

Expand Down Expand Up @@ -90,7 +90,7 @@ describe( 'useSiteGoalsBreakdownNoticeCopy', () => {
);

expect( result.current.title ).toBe(
'Have multiple forms, or Using both WooCommerce and Easy Digital Downloads for your site?'
'Have multiple forms, or using both WooCommerce and Easy Digital Downloads for your site?'
);
} );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function useSiteGoalsBreakdownNoticeCopy(
if ( hasMultipleEcommerceProviders ) {
return {
title: __(
'Using both WooCommerce and Easy Digital Downloads to sell products or services?',
'See how different plugins contribute to your goals',
'google-site-kit'
),
description: createInterpolateElement(
Expand Down Expand Up @@ -131,12 +131,12 @@ export function useSiteGoalsBreakdownNoticeCopy(
if ( hasMultipleEcommerceProviders ) {
return {
title: __(
'Have multiple forms, or Using both WooCommerce and Easy Digital Downloads for your site?',
'Have multiple forms, or using both WooCommerce and Easy Digital Downloads for your site?',
'google-site-kit'
),
description: createInterpolateElement(
__(
'If you use WooCommerce and Easy Digital Downloads, your events data might be grouped together. Enable this breakdown to see results for each plugin separately and track how each store is performing. Because this uses a new, more precise tracking method, your data will start fresh from the moment you turn it on. <a>Learn more</a>',
'If you use both WooCommerce and Easy Digital Downloads, your events data might be grouped together. Enable this breakdown to see results for each plugin separately and track how each store is performing. Because this uses a new, more precise tracking method, your data will start fresh from the moment you turn it on. <a>Learn more</a>',
'google-site-kit'
),
{ a: learnMoreLink }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ describe( 'PanelContent', () => {
let registry: ReturnType< typeof createTestRegistry >;

const ECOMMERCE_NOTICE_TITLE =
'Using both WooCommerce and Easy Digital Downloads to sell products or services?';
'See how different plugins contribute to your goals';
const LEAD_NOTICE_TITLE = 'Want to see results for each form?';
const BOTH_NOTICE_TITLE =
'Have multiple forms, or Using both WooCommerce and Easy Digital Downloads for your site?';
'Have multiple forms, or using both WooCommerce and Easy Digital Downloads for your site?';

mockBrowserScrolling();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1043,9 +1043,7 @@ describe( 'OnlineStorePerformanceWidget', () => {
await waitForRegistry();

expect(
getByText(
'Using both WooCommerce and Easy Digital Downloads to sell products or services?'
)
getByText( 'See how different plugins contribute to your goals' )
).toBeInTheDocument();

fireEvent.click( getByText( 'No thanks' ) );
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading