Skip to content

Commit 9d3bf31

Browse files
committed
Removed wait
1 parent 0f371b5 commit 9d3bf31

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cypress/integration/user_story.spec.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,14 @@ describe('Test new User Registration Workflow', () => {
9191
cy.get('[data-cy=stories]').contains(testStory.title).click()
9292

9393
cy.url().should('contain', 'story')
94-
95-
cy.wait(3000)
9694
})
9795

9896
it('Displays the data from template text', () => {
9997
cy.contains('What is the issue?') // Data from the template text
10098
})
10199

102100
it('Allows user to edit the story created by them', () => {
103-
cy.get('[data-cy=btn-edit]', { timeout: 1000 }).contains('Edit').click()
101+
cy.get('[data-cy=btn-edit]', { timeout: 1000}).contains('Edit').click()
104102

105103
cy.get('[data-cy=edit-description]').type(editedDescription)
106104

0 commit comments

Comments
 (0)