From 8a1cc02c7578f482678cb482fc66efca7fee9d96 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 18 Feb 2018 19:57:27 -0800 Subject: [PATCH] add some wait()s so tests pass --- cypress/support/commands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index f1419f42..58323807 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -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') })