chore(ci): Add wait time before checking list view

Cypress form.js tests run just fine locally but not on GHA :thonk:
This commit is contained in:
Gavin D'souza 2021-06-11 16:22:00 +05:30
parent 14a1b7f4ac
commit 1e7cffe8bc

View file

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