E2E Testing of Excel Downloads with Cypress

Written by vivek-nayyar | Published 2020/04/12
Tech Story Tags: javascript | e2e | testing | cypress | web-development | coding | e2e-testing | nodejs

TLDR 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.via the TL;DR App

no story

Written by vivek-nayyar | 👋 Senior Software Engineer with 5 years' of experience building products for numerous domains.
Published by HackerNoon on 2020/04/12