test: form test description not filled

* wait 300 ms for form controller to update doc
This commit is contained in:
Shivam Mishra 2020-06-05 13:55:37 +05:30
parent cef1e08df4
commit df7f70ef29

View file

@ -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({