๐ฉโ๐ป Join our community of thousands of amazing developers!
Let's imagine a web server that also returns a plain text file. We are already testing the web pages using Cypress test runner, so how can we request and validate the plain text file? What if the returned file is in Markdown format? Let's learn.๐ You can find the source code for the application and the Cypress tests in the repo bahmutov/check-text-file-example.Requesting the fileTo download the file we can use the cy.request command.spec.js123456/// <reference types="cypress" />it('receives the ...