title: Cypress: can't download file after clicking on button
body: <p>I'm using Cypress to emulate some human behavior. I need to click on a button which will start a file download. I need to wait for the file to download, and then be able to read the file content. I can't access the Download URL, I need to really emulate the click.</p>
  <p>Doing this doesn't work:</p>
  <pre><code>cy.get('[class=&quot;myclass&quot;]').contains('Download').click();
  cy.wait(60000);
  </code></pre>
  <p>EDIT:</p>
  <p>I'm not getting any particular error. The test just finishes OK. It is just that, I'm expecting the file to be downloaded in the same directory of the test. Of course, my expectations may be totally wrong as it is very clear I'm missing something.</p>