Skip to content

Commit

Permalink
add small delay to make test more reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
walsh9 committed Nov 28, 2023
1 parent 7207c1f commit 9d5e7b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/e2e/article.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ describe('An article page', () => {
cy.wait('@oldArticle').then(() => {
cy.get('h2.regwall-header').should('contain', 'Read this story completely free')
cy.get('.regwall-form-wrapper input[type=email]').type(emailAddress)
cy.wait(200)
cy.contains('Sign Up').click()
cy.wait('@emailProxy')
cy.get('h2.regwall-header').should('contain', 'Thanks for subscribing!')
Expand Down

0 comments on commit 9d5e7b8

Please sign in to comment.