I am trying to upload a file in angular solution using cypress. Using this plugin (https://www.npmjs.com/package/cypress-file-upload)
Here the code I used
const filepath = 'test-20210816-071154.zip'
cy.get(".mat-focus-indicator.mat-tooltip-trigger.add-button.positive-button.small-icon-button.mat-icon-button").attachFile(filepath)
That test case is passing but file upload is not working!
Whereas same code I use to upload here

it is working.
cy.get("#fileUpload").attachFile(filepath)
So my question - does cypress-file-upload plugin really work for angular solution? if so, how can it be?
using this code
cy.get('input[data-placeholder="type diagram name"]).attachFile(filepath, { subjectType: 'drag-n-drop' }).trigger('change', {force:true})
it focuses on field not on import icon

I finally get exact input direction, which is input[type="file"] and is in hidden assured by developer
cy.get('input[type="file"]').attachFile(filepath,{ mimeType: 'application/zip' }); used that - not uploading rather "invalid JSON file" message showing. What I can do now?
