How to use
cy.request
,window.fetch
, andcy.task
commands to make HTTP requests to the server with and without cookies
The cypress/e2e/spec.cy.js shows how to make HTTP requests with or without cookies. Read the blog post Cypress request and cookies for details.
To run assuming the dependencies were installed in the root folder:
$ npm run dev
Click on the spec file.