attempt to fix CI tests

This commit is contained in:
Michael Telatynski 2020-09-09 12:06:16 +01:00
parent bb98587143
commit 8dcb2d4719
2 changed files with 7 additions and 1 deletions

View file

@ -17,6 +17,11 @@ limitations under the License.
const assert = require('assert');
module.exports.openMemberList = async function(session) {
const peopleButton = await session.query(".mx_RoomSummaryCard_icon_people");
await peopleButton.click();
};
async function openMemberInfo(session, name) {
const membersAndNames = await getMembersInMemberlist(session);
const matchingLabel = membersAndNames.filter((m) => {

View file

@ -16,10 +16,11 @@ limitations under the License.
*/
const assert = require('assert');
const {openMemberInfo} = require("./memberlist");
const {openMemberList, openMemberInfo} = require("./memberlist");
async function startVerification(session, name) {
session.log.step("opens their opponent's profile and starts verification");
await openMemberList(session);
await openMemberInfo(session, name);
// click verify in member info
const firstVerifyButton = await session.query(".mx_UserInfo_verifyButton");