Revert store setup task list title. (https://github.com/woocommerce/woocommerce-admin/pull/7129)
This commit is contained in:
parent
9b4da9b32e
commit
f432b83365
|
@ -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( {
|
||||
|
|
|
@ -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', () => {
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue