Closed alucardu closed 3 years ago
Imaged is not getting attached to dropzone:
As you can see on the screenshot the test succeeded:
it('Add passport front to file upload', () => { const fixtureFile = 'paspoort-voorkant.jpg' cy.get('[data-cy="dropzone_front"]').attachFile(fixtureFile) })
The console also shows the file, but the file is not available in the actual dropzone component in the browser.
Uploaded file should be inserted into dropzone component
7.5.0 Windows 10 Chrome 91.0.4472.77
Closed.
it('Add passport back to file upload', () => { cy.get('[data-cy="file-input"]') .attachFile('paspoort-voorkant.jpg', { subjectType: 'drag-n-drop' }) })
Current behavior:
Imaged is not getting attached to dropzone:
As you can see on the screenshot the test succeeded:
The console also shows the file, but the file is not available in the actual dropzone component in the browser.
Desired behavior:
Uploaded file should be inserted into dropzone component
Versions
7.5.0 Windows 10 Chrome 91.0.4472.77