Add credentials when calling bootstrapCrossSigning in Cypress tests (#9919)

This commit is contained in:
devonh 2023-01-19 15:19:07 +00:00 committed by GitHub
parent 314b2e7ba6
commit 422802ea6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 36 additions and 24 deletions

View file

@ -76,6 +76,7 @@ export interface Credentials {
userId: string;
deviceId: string;
homeServer: string;
password: string;
}
function registerUser(
@ -120,6 +121,7 @@ function registerUser(
accessToken: response.body.access_token,
userId: response.body.user_id,
deviceId: response.body.device_id,
password: password,
}));
}