title: Downloading files hangs up in Cypress
body: <p>I've got the issue that after clicking the 'Download' button in Cypress the file actually gets downloaded, but the test hangs up. I honestly googled and found it has been raised a lot, but as both file uploading and downloading are not supported by Cypress directly (only with some workarounds), there are some solutions offered, but none works for me. The files URL is impossible to figure out first of all because it's dynamic, and each time I upload the same file it gets the new name with an auto-generated time-stamp. moreover, I need to test downloading several (or many) selected files at once. I found many solutions proposed (e.g. <a href="https://github.com/cypress-io/cypress/issues/949" rel="nofollow noreferrer">here</a>), but all require the target URL. Is there any other way to test downloading?</p>
  
  <pre><code> it('Adds and downloads documents', function () {
      cy.get('[type="checkbox"]#documents-list-select-all').check({ force: true }); //select all button, as you can guess from the name
      cy.get('#documents-list-selected-actions').click(); //this is the actual download button
      cy.waitLoadingOverlay();
    });
  </code></pre>