Too Long; Didn't Read
E2E Testing of Excel Downloads with Cypress.io is written by Vivek Nayyar. This article assumes a basic understanding of cypress.io. The test that we will write will go inside a new file inside the project’s testspec.js folder. After clicking on it, the file should ideally have been downloaded and now we need to somehow read that file and check if it exists and if it consists of the right data in it. With this we can finally be the assertion rule to check that the data we can be/have the data that we expected.