title: Cypress - check if the file is downloaded
body: <p>I have a little problem with trying to check if a file is downloaded.</p>
  <p>Button click generates a PDF file and starts its download.</p>
  <p>I need to check if it works.</p>
  <p>Can Cypress do this?</p>