This commit is contained in:
Jeff Stieler 2021-06-07 11:33:40 -04:00 committed by GitHub
parent 9b4da9b32e
commit f432b83365
3 changed files with 6 additions and 3 deletions

View File

@ -233,7 +233,10 @@ const TaskDashboard = ( { userPreferences, query } ) => {
isComplete={ isTaskListComplete }
query={ query }
tasks={ setupTasks }
title={ __( 'Finish setup', 'woocommerce-admin' ) }
title={ __(
'Get ready to start selling',
'woocommerce-admin'
) }
trackedCompletedTasks={ trackedCompletedTasks || [] }
onComplete={ () =>
updateOptions( {

View File

@ -44,7 +44,7 @@ jest.mock( '@woocommerce/explat', () => ( {
useExperiment: jest.fn().mockReturnValue( [ false, {} ] ),
} ) );
const TASK_LIST_HEADING = 'Finish setup';
const TASK_LIST_HEADING = 'Get ready to start selling';
const EXTENDED_TASK_LIST_HEADING = 'Things to do next';
describe( 'TaskDashboard and TaskList', () => {

View File

@ -27,7 +27,7 @@ export class WcHomescreen extends BasePage {
await page.waitForSelector(
'.woocommerce-task-card .woocommerce-task-list__item-title'
);
await waitForElementByText( 'p', 'Finish setup' );
await waitForElementByText( 'p', 'Get ready to start selling' );
const list = await this.page.$$eval(
'.woocommerce-task-card .woocommerce-task-list__item-title',
( items ) => items.map( ( item ) => item.textContent )