1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Migrate user-onboarding-*.spec.ts from Cypress to Playwright (#11927)

Co-authored-by: R Midhun Suresh <hi@midhun.dev>
Co-authored-by: Johannes Marbach <johannesm@element.io>
Co-authored-by: Milton Moura <miltonmoura@gmail.com>
This commit is contained in:
Michael Telatynski
2023-11-27 12:11:00 +00:00
committed by GitHub
parent 87f1ae4665
commit d827723b3d
20 changed files with 314 additions and 273 deletions

View File

@ -193,6 +193,10 @@ export class Synapse implements Homeserver, HomeserverInstance {
},
});
if (!res.ok()) {
throw await res.json();
}
const data = await res.json();
return {
homeServer: data.home_server,