diff --git a/assets/src/onboarding-wizard/components/nav/index.js b/assets/src/onboarding-wizard/components/nav/index.js index 40a0b3f63cf..1b39f4a7c43 100644 --- a/assets/src/onboarding-wizard/components/nav/index.js +++ b/assets/src/onboarding-wizard/components/nav/index.js @@ -41,7 +41,7 @@ export function Nav( { closeLink, finishLink } ) { let nextLink; if ( isLastPage && READER === themeSupport ) { - nextText = __( 'Customize Theme', 'amp' ); + nextText = __( 'Customize', 'amp' ); nextLink = ! savingDeveloperToolsOption && ! savingOptions ? addQueryArgs( CUSTOMIZER_LINK, 'legacy' === readerTheme diff --git a/assets/src/onboarding-wizard/components/nav/test/index.js b/assets/src/onboarding-wizard/components/nav/test/index.js index 59decb17a53..a7eab31062f 100644 --- a/assets/src/onboarding-wizard/components/nav/test/index.js +++ b/assets/src/onboarding-wizard/components/nav/test/index.js @@ -86,7 +86,7 @@ describe( 'Nav', () => { expect( nextButton ).not.toBeNull(); } ); - it( 'changes next button to "Customize Theme" on last page', () => { + it( 'changes next button to "Customize" on last page', () => { act( () => { render( @@ -104,7 +104,7 @@ describe( 'Nav', () => { nextButton.dispatchEvent( new global.MouseEvent( 'click', { bubbles: true } ) ); } ); - expect( nextButton.textContent ).toBe( 'Customize Theme' ); + expect( nextButton.textContent ).toBe( 'Customize' ); } ); it( 'close button hides on last page when reader mode is not selected', () => {