diff --git a/cypress/integration/item-tracking.e2e.js b/cypress/integration/item-tracking.e2e.js index c1967228e1e..88147db87f1 100644 --- a/cypress/integration/item-tracking.e2e.js +++ b/cypress/integration/item-tracking.e2e.js @@ -20,7 +20,7 @@ describe('Tracking items from application to component tree', () => { cy.enter('#sample-app').then((getBody) => { getBody().find('app-todo').contains('Buy milk'); - getBody().find('app-todo').contains('Save the world'); + getBody().find('app-todo').contains('Build something fun!'); getBody().find('app-todo').contains('Buy cookies'); }); diff --git a/cypress/integration/node-selection.e2e.js b/cypress/integration/node-selection.e2e.js index 603b5eeb063..8d20174ce88 100644 --- a/cypress/integration/node-selection.e2e.js +++ b/cypress/integration/node-selection.e2e.js @@ -41,7 +41,11 @@ describe('node selection', () => { cy.get('ng-property-view').last().find('mat-tree-node:contains("todo")').click(); - cy.get('ng-property-view').last().find('mat-tree-node:contains("Save the world")').its('length').should('eq', 1); + cy.get('ng-property-view') + .last() + .find('mat-tree-node:contains("Build something fun!")') + .its('length') + .should('eq', 1); }); }); diff --git a/src/app/demo-app/todo/home/todos/todos.component.ts b/src/app/demo-app/todo/home/todos/todos.component.ts index 8fdbc8c311b..bafd822a1a8 100644 --- a/src/app/demo-app/todo/home/todos/todos.component.ts +++ b/src/app/demo-app/todo/home/todos/todos.component.ts @@ -21,7 +21,7 @@ export class TodosComponent implements OnInit, OnDestroy { id: '42', }, { - label: 'Save the world', + label: 'Build something fun!', completed: false, id: '43', },