cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.87k stars 3.18k forks source link

Improve cy.request cookie handling #24332

Open mschile opened 2 years ago

mschile commented 2 years ago

cy.request uses automation to retrieve cookies and filter them here. We need to ensure we are returning the correct cookies based on cross-origin/same-site etc.

Ensure these TODOs are also updated: https://github.com/cypress-io/cypress/blob/d7e148f8cde4f74300bec3a3e2fa55ed3139d6fd/system-tests/projects/e2e/cypress/e2e/cookies_spec_no_baseurl.cy.js#L51

https://github.com/cypress-io/cypress/blob/d7e148f8cde4f74300bec3a3e2fa55ed3139d6fd/system-tests/projects/e2e/cypress/e2e/cookies_spec_baseurl.cy.js#L83

github-actions[bot] commented 1 year ago

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.