cypress: Migrate to 6.0
Migrate to latest major version of cypress
according to their migration guide.
I also tried to move from the cy.route()
command to the new cy.intercept()
command
for mocking HTTP requests but it currently does not allow to override a previously mocked request (https://github.com/cypress-io/cypress/issues/9302)
which makes some swh-web
tests not portable at the moment. So this will be done later.
Migrated from D4650 (view on Phabricator)