Skip to content

Commit

Permalink
Update gui.cy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hani-13 authored Jun 30, 2024
1 parent c8b8096 commit df8924c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/cypress/e2e/gui.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ describe('Testing todo-items', () => {


it('TC5: Mark todo item as “done”', () => {
// Select the second todo item and click the checker span to mark it as done
// Select the first todo item and click the checker span to mark it as done
cy.get('ul.todo-list li.todo-item').first().find('span.checker').click();

// Verify that the span now has the 'checked' class for the second item
// Verify that the span now has the 'checked' class for the first item
cy.get('ul.todo-list li.todo-item').first().find('span.checker').should('have.class', 'checked');
});

Expand Down

0 comments on commit df8924c

Please sign in to comment.