diff --git a/cypress/integration/file_uploader.js b/cypress/integration/file_uploader.js index f22cbf0c7f..628aac357c 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', {delay: 100}); + 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(); diff --git a/cypress/integration/form.js b/cypress/integration/form.js index 9d1210ca2b..586ae0de97 100644 --- a/cypress/integration/form.js +++ b/cypress/integration/form.js @@ -6,9 +6,6 @@ context('Form', () => { return frappe.call("frappe.tests.ui_test_helpers.create_contact_records"); }); }); - beforeEach(() => { - cy.visit('/desk#workspace/Website'); - }); 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();