test: Force weblink input
This commit is contained in:
parent
ba9b8a4060
commit
8dbc7ecff4
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', { delay: 100 });
|
||||
cy.get_open_dialog().find('.file-web-link input').type('https://github.com', { delay: 100, force: true });
|
||||
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