Cumulocity-IoT / cumulocity-cypress

Collection of commands and utilities to be used for automating tests for Cumulocity with Cypress.
Apache License 2.0
8 stars 2 forks source link

Enable cy.request to add xsrf-token if available as cookie #115

Closed thomaswinkler closed 3 months ago

thomaswinkler commented 5 months ago

Current cy.request extension only enables passing authentication via cy.getAuth or cy.useAuth. However, if there is login (cookies) available, cy.request does not pass it automatically.

Add xsrf-token if present.