From df7f70ef2949d599ff043b52faaf47f97c5fdc1c Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 5 Jun 2020 13:55:37 +0530 Subject: [PATCH] test: form test description not filled * wait 300 ms for form controller to update doc --- cypress/integration/form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/integration/form.js b/cypress/integration/form.js index 23fc57fc57..ef89a18e7d 100644 --- a/cypress/integration/form.js +++ b/cypress/integration/form.js @@ -9,6 +9,7 @@ context('Form', () => { it('create a new form', () => { cy.visit('/desk#Form/ToDo/New ToDo 1'); cy.fill_field('description', 'this is a test todo', 'Text Editor').blur(); + cy.wait(300); cy.get('.page-title').should('contain', 'Not Saved'); cy.server(); cy.route({