mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
attempt to fix CI tests
This commit is contained in:
parent
bb98587143
commit
8dcb2d4719
2 changed files with 7 additions and 1 deletions
|
@ -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 a new issue