Add intercept of config.json (#10908)

* Add intercept of `config.json`

To help make sure that we run our tests against a known config, rather than
accidentally making requests to `matrix.org`.

* Remove now-redundant stubs of matrix.org files

Now that we intercept config.json, all this stuff is redundant.

* Reinstate fixture which is actually used

Turns out this is used after all

* Add a `map_style_url`

* disable failing axe check
This commit is contained in:
Richard van der Hoff 2023-05-16 13:15:20 +01:00 committed by GitHub
parent 0d981326ac
commit 81df8a3d2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 52 additions and 91 deletions

View file

@ -22,7 +22,6 @@ describe("Registration", () => {
let homeserver: HomeserverInstance;
beforeEach(() => {
cy.stubDefaultServer();
cy.visit("/#/register");
cy.startHomeserver("consent").then((data) => {
homeserver = data;