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

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')
})