From 1e7cffe8bc413fbfc9fbbe9eeeee32114df545ec Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Fri, 11 Jun 2021 16:22:00 +0530 Subject: [PATCH] chore(ci): Add wait time before checking list view Cypress form.js tests run just fine locally but not on GHA :thonk: --- cypress/integration/form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/integration/form.js b/cypress/integration/form.js index 20ed7a61cd..909955c1df 100644 --- a/cypress/integration/form.js +++ b/cypress/integration/form.js @@ -18,6 +18,7 @@ context('Form', () => { cy.get('.primary-action').click(); cy.wait('@form_save').its('response.statusCode').should('eq', 200); cy.visit('/app/todo'); + cy.wait(300); cy.get('.title-text').should('be.visible').and('contain', 'To Do'); cy.get('.list-row').should('contain', 'this is a test todo'); });