Currently the failOnStatus property can be passed to cy.request to turn off failing based on a non 2xx status code.
This needs to be upgraded to also not fail on 3xx status code, and we should rename this property to be failOnStatusCode to clarify what this property does.
We'll keep the old property name backwards compatible for now and log a deprecation warning.
Currently the
failOnStatusproperty can be passed tocy.requestto turn off failing based on a non2xxstatus code.This needs to be upgraded to also not fail on
3xxstatus code, and we should rename this property to befailOnStatusCodeto clarify what this property does.We'll keep the old property name backwards compatible for now and log a deprecation warning.