Testing LiveView File upload in javascript

Hi Elixir Community,
As file upload is quite recent, I’d appreciate some help in figuring out how to make it fly in this weird use case.

I’m trying to write an integration test through a browser using Cypress. I have managed to attach a file to file input using file-upload plugin for Cypress. However, it doesn’t seem to work with the way LiveView is handling file uploads.

I tried triggering change and input events manually on the input and it doesn’t seem to do that job and LV handlers never get fired. Is there some other event I need to throw to get the live view file uploader to kick in?