|
|
@ -324,7 +324,9 @@ module.exports = {
|
|
|
|
async addFriendToNewClosedGroup(members, useSenderKeys) {
|
|
|
|
async addFriendToNewClosedGroup(members, useSenderKeys) {
|
|
|
|
const [app, ...others] = members;
|
|
|
|
const [app, ...others] = members;
|
|
|
|
|
|
|
|
|
|
|
|
await app.client.element(ConversationPage.conversationButtonSection).click();
|
|
|
|
await app.client
|
|
|
|
|
|
|
|
.element(ConversationPage.conversationButtonSection)
|
|
|
|
|
|
|
|
.click();
|
|
|
|
await app.client.element(ConversationPage.createClosedGroupButton).click();
|
|
|
|
await app.client.element(ConversationPage.createClosedGroupButton).click();
|
|
|
|
|
|
|
|
|
|
|
|
await this.setValueWrapper(
|
|
|
|
await this.setValueWrapper(
|
|
|
@ -620,7 +622,9 @@ module.exports = {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
async joinOpenGroup(app, openGroupUrl, name) {
|
|
|
|
async joinOpenGroup(app, openGroupUrl, name) {
|
|
|
|
await app.client.element(ConversationPage.conversationButtonSection).click();
|
|
|
|
await app.client
|
|
|
|
|
|
|
|
.element(ConversationPage.conversationButtonSection)
|
|
|
|
|
|
|
|
.click();
|
|
|
|
await app.client.element(ConversationPage.joinOpenGroupButton).click();
|
|
|
|
await app.client.element(ConversationPage.joinOpenGroupButton).click();
|
|
|
|
|
|
|
|
|
|
|
|
await this.setValueWrapper(
|
|
|
|
await this.setValueWrapper(
|
|
|
|