diff --git a/cypress/e2e/spec.cy.js b/cypress/e2e/spec.cy.js index 56ab2ed..db4a6e3 100644 --- a/cypress/e2e/spec.cy.js +++ b/cypress/e2e/spec.cy.js @@ -1,7 +1,6 @@ /// // use the plugin cypress-time-marks in this spec -import 'cypress-time-marks' beforeEach(function () { // start with zero todos @@ -13,8 +12,6 @@ it('quickly adds an item', () => { // start measuring time before using cy.type // and confirm the item becomes visible // before 500ms elapses - cy.get('input.new-todo').timeMark('addStart').type('an item{enter}') - cy.contains('li.todo', 'an item') - .should('be.visible') - .timeSince('addStart', 'adding an item', 500, true) + cy.get('input.new-todo').type('an item{enter}') + cy.contains('li.todo', 'an item').should('be.visible') })