You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I have a problem with the upload. One file is successfully uploaded, but one is not. The file that was successfully uploaded is .x_t, and .stl cannot. I've tried different ways with different codes, but it won't.
The upload starts, but after a few seconds it simply disappears and a fail appears. I also can screen video, if screens are not enough. cy.fixture(fileName, "UTF-8").then(fileContent => { cy.get('.ant-upload.ant-upload-drag') .attachFile({ fileContent, fileName, mimeType: 'application/sla'},{ subjectType: 'drag-n-drop' }, { timeout: 150000 })
A successfully uploaded file has 50kb, and the one that will not has 1.5mb. What is wrong?
btw. When I upload a file without automation, it works.
I had a similar problem but not the same, maybe this works:
Try "cy.get('input[type="file"]').attachFile(nameoffilegoeshere.stl).trigger('input');"
Adding the trigger('input')
Hey, I have a problem with the upload. One file is successfully uploaded, but one is not. The file that was successfully uploaded is .x_t, and .stl cannot. I've tried different ways with different codes, but it won't.
The upload starts, but after a few seconds it simply disappears and a fail appears. I also can screen video, if screens are not enough.
cy.fixture(fileName, "UTF-8").then(fileContent => { cy.get('.ant-upload.ant-upload-drag') .attachFile({ fileContent, fileName, mimeType: 'application/sla'},{ subjectType: 'drag-n-drop' }, { timeout: 150000 })
A successfully uploaded file has 50kb, and the one that will not has 1.5mb. What is wrong?
btw. When I upload a file without automation, it works.
The text was updated successfully, but these errors were encountered: