add some wait()s so tests pass

This commit is contained in:
Nolan Lawson 2018-02-18 19:57:27 -08:00
parent bb5f9320b2
commit 8a1cc02c75
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ Cypress.Commands.add('validateTimeline', (timeline) => {
cy.getNthVirtualArticle(i).get('.status-header span').should('contain', status.followedBy)
cy.getNthVirtualArticle(i).get('.status-header span').should('contain', 'followed you')
}
cy.wait(50)
cy.getNthVirtualArticle(i).scrollIntoView()
cy.get('.loading-footer').should('not.exist')
})