test: Add type delay while typing file-web-link
This commit is contained in:
parent
0b6e1cb78e
commit
6ecd83a27d
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue