From 6ecd83a27d0f4015cd81b8fac66fdb5997b2f89d Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Sat, 25 Apr 2020 14:24:34 +0530 Subject: [PATCH] test: Add type delay while typing file-web-link --- cypress/integration/file_uploader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/file_uploader.js b/cypress/integration/file_uploader.js index f4ef2a19f0..f22cbf0c7f 100644 --- a/cypress/integration/file_uploader.js +++ b/cypress/integration/file_uploader.js @@ -50,7 +50,7 @@ context('FileUploader', () => { open_upload_dialog(); cy.get_open_dialog().find('a:contains("web link")').click(); - cy.get_open_dialog().find('.file-web-link input').type('https://github.com'); + cy.get_open_dialog().find('.file-web-link input').type('https://github.com', {delay: 100}); cy.server(); cy.route('POST', '/api/method/upload_file').as('upload_file'); cy.get_open_dialog().find('.btn-primary').click();