paint-brush
E2E Testing of Excel Downloads with Cypressby@vivek-nayyar
2,626 reads
2,626 reads

E2E Testing of Excel Downloads with Cypress

by Vivek Nayyar4mApril 12th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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.

Company Mentioned

Mention Thumbnail
featured image - E2E Testing of Excel Downloads with Cypress
Vivek Nayyar HackerNoon profile picture
Vivek Nayyar

Vivek Nayyar

@vivek-nayyar

👋 Senior Software Engineer with 5 years' of experience building products for numerous domains.

Learn More
LEARN MORE ABOUT @VIVEK-NAYYAR'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Vivek Nayyar HackerNoon profile picture
Vivek Nayyar@vivek-nayyar
👋 Senior Software Engineer with 5 years' of experience building products for numerous domains.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite