@@ -56,7 +56,7 @@ test.describe('New Todo', () => {
5656
5757 // create a todo count locator
5858 const todoCount = page . getByTestId ( 'todo-count' )
59-
59+
6060 // Check test using different methods.
6161 await expect ( page . getByText ( '3 items left' ) ) . toBeVisible ( ) ;
6262 await expect ( todoCount ) . toHaveText ( '3 items left' ) ;
@@ -260,7 +260,7 @@ test.describe('Counter', () => {
260260 test ( 'should display the current number of todo items' , async ( { page } ) => {
261261 // create a new todo locator
262262 const newTodo = page . getByPlaceholder ( 'What needs to be done?' ) ;
263-
263+
264264 // create a todo count locator
265265 const todoCount = page . getByTestId ( 'todo-count' )
266266
@@ -350,7 +350,7 @@ test.describe('Routing', () => {
350350 } ) ;
351351
352352 test ( 'should respect the back button' , async ( { page } ) => {
353- const todoItem = page . getByTestId ( 'todo-item' ) ;
353+ const todoItem = page . getByTestId ( 'todo-item' ) ;
354354 await page . getByTestId ( 'todo-item' ) . nth ( 1 ) . getByRole ( 'checkbox' ) . check ( ) ;
355355
356356 await checkNumberOfCompletedTodosInLocalStorage ( page , 1 ) ;
@@ -393,7 +393,7 @@ test.describe('Routing', () => {
393393
394394 test ( 'should highlight the currently applied filter' , async ( { page } ) => {
395395 await expect ( page . getByRole ( 'link' , { name : 'All' } ) ) . toHaveClass ( 'selected' ) ;
396-
396+
397397 //create locators for active and completed links
398398 const activeLink = page . getByRole ( 'link' , { name : 'Active' } ) ;
399399 const completedLink = page . getByRole ( 'link' , { name : 'Completed' } ) ;
0 commit comments