Merge pull request #10 from matrix-org/bwindels/increasetimeout
Try to fix test running under travis by increasing timeout
This commit is contained in:
commit
26e4645a01
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ module.exports = async function getE2EDeviceFromSettings(session) {
|
||||||
session.log.step(`gets e2e device/key from settings`);
|
session.log.step(`gets e2e device/key from settings`);
|
||||||
const settingsButton = await session.query('.mx_BottomLeftMenu_settings');
|
const settingsButton = await session.query('.mx_BottomLeftMenu_settings');
|
||||||
await settingsButton.click();
|
await settingsButton.click();
|
||||||
const deviceAndKey = await session.waitAndQueryAll(".mx_UserSettings_section.mx_UserSettings_cryptoSection code");
|
const deviceAndKey = await session.waitAndQueryAll(".mx_UserSettings_section.mx_UserSettings_cryptoSection code", 1000);
|
||||||
assert.equal(deviceAndKey.length, 2);
|
assert.equal(deviceAndKey.length, 2);
|
||||||
const id = await (await deviceAndKey[0].getProperty("innerText")).jsonValue();
|
const id = await (await deviceAndKey[0].getProperty("innerText")).jsonValue();
|
||||||
const key = await (await deviceAndKey[1].getProperty("innerText")).jsonValue();
|
const key = await (await deviceAndKey[1].getProperty("innerText")).jsonValue();
|
||||||
|
@ -28,4 +28,4 @@ module.exports = async function getE2EDeviceFromSettings(session) {
|
||||||
await closeButton.click();
|
await closeButton.click();
|
||||||
session.log.done();
|
session.log.done();
|
||||||
return {id, key};
|
return {id, key};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue