Add credentials when calling bootstrapCrossSigning in Cypress tests (#9919)
This commit is contained in:
parent
314b2e7ba6
commit
422802ea6d
5 changed files with 36 additions and 24 deletions
|
@ -150,7 +150,14 @@ function setupBotClient(
|
|||
if (opts.bootstrapCrossSigning) {
|
||||
await cli.bootstrapCrossSigning({
|
||||
authUploadDeviceSigningKeys: async (func) => {
|
||||
await func({});
|
||||
await func({
|
||||
type: "m.login.password",
|
||||
identifier: {
|
||||
type: "m.id.user",
|
||||
user: credentials.userId,
|
||||
},
|
||||
password: credentials.password,
|
||||
});
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue