forked from cybrespace/pinafore
add some wait()s so tests pass
This commit is contained in:
parent
bb5f9320b2
commit
8a1cc02c75
|
@ -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', status.followedBy)
|
||||||
cy.getNthVirtualArticle(i).get('.status-header span').should('contain', 'followed you')
|
cy.getNthVirtualArticle(i).get('.status-header span').should('contain', 'followed you')
|
||||||
}
|
}
|
||||||
|
cy.wait(50)
|
||||||
cy.getNthVirtualArticle(i).scrollIntoView()
|
cy.getNthVirtualArticle(i).scrollIntoView()
|
||||||
cy.get('.loading-footer').should('not.exist')
|
cy.get('.loading-footer').should('not.exist')
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue