Cypress - File Operations
Given this Cypress code snippet:
What will be the test result if the file is correctly uploaded?
cy.get('#dropzone').attachFile('doc.pdf', { subjectType: 'drag-n-drop' });
cy.get('#file-name').should('contain.text', 'doc.pdf');What will be the test result if the file is correctly uploaded?
