HomeSoftware Heritage

cypress: Migrate from cy.route API to cy.intercept API

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

cypress: Migrate from cy.route API to cy.intercept API

cy.route has been deprecated in cypress 6.0 in favor of cy.intercept
and will be removed soon.

So migrate code stubbing network requests to the intercept API.

The only drawback of the intercept API is that currently stubbed responses
can not be overridden but hopefully a simple workaround can be used
(see https://github.com/cypress-io/cypress/issues/9302).

Details

Provenance
anlambertAuthored on Mar 9 2021, 4:56 PM
anlambertPushed on Mar 9 2021, 5:41 PM
Differential Revision
D5222: cypress: Migrate from cy.route API to cy.intercept API
Build Status
Buildable 19804
Build 30749: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.