mirror of https://github.com/vector-im/riot-web
attempt to fix CI tests
parent
bb98587143
commit
8dcb2d4719
|
@ -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) => {
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue