pull/1077/head
Vincent 5 years ago
parent e2c73f2fe5
commit 5eb49764b3

@ -335,8 +335,7 @@ module.exports = {
await app.client await app.client
.element(ConversationPage.createClosedGroupMemberItem) .element(ConversationPage.createClosedGroupMemberItem)
.isVisible() .isVisible().should.eventually.be.true;
.should.eventually.be.true;
// select the first friend as a member of the groups being created // select the first friend as a member of the groups being created
await app.client await app.client
@ -344,8 +343,7 @@ module.exports = {
.click(); .click();
await app.client await app.client
.element(ConversationPage.createClosedGroupMemberItemSelected) .element(ConversationPage.createClosedGroupMemberItemSelected)
.isVisible() .isVisible().should.eventually.be.true;
.should.eventually.be.true;
// trigger the creation of the group // trigger the creation of the group
await app.client await app.client
@ -359,9 +357,7 @@ module.exports = {
await app.client.isExisting( await app.client.isExisting(
ConversationPage.headerTitleGroupName(this.VALID_CLOSED_GROUP_NAME1) ConversationPage.headerTitleGroupName(this.VALID_CLOSED_GROUP_NAME1)
).should.eventually.be.true; ).should.eventually.be.true;
await app.client await app.client.element(ConversationPage.headerTitleMembers(2)).isVisible()
.element(ConversationPage.headerTitleMembers(2))
.isVisible()
.should.eventually.be.true; .should.eventually.be.true;
// validate overlay is closed // validate overlay is closed

@ -7,12 +7,11 @@ const common = require('./common');
describe('Message Syncing', function() { describe('Message Syncing', function() {
let app; let app;
let app2; let app2;
let app3;
this.timeout(60000); this.timeout(60000);
this.slow(15000); this.slow(15000);
beforeEach(async () => { beforeEach(async () => {
// await common.killallElectron(); await common.killallElectron();
await common.stopStubSnodeServer(); await common.stopStubSnodeServer();
const app1Props = { const app1Props = {
@ -27,16 +26,9 @@ describe('Message Syncing', function() {
stubSnode: true, stubSnode: true,
}; };
const app3Props = { [app, app2] = await Promise.all([
mnemonic: common.TEST_MNEMONIC3,
displayName: common.TEST_DISPLAY_NAME3,
stubSnode: true,
};
[app, app2, app3] = await Promise.all([
common.startAndStub(app1Props), common.startAndStub(app1Props),
common.startAndStubN(app2Props, 2), common.startAndStubN(app2Props, 2),
common.startAndStubN(app3Props, 3),
]); ]);
}); });

Loading…
Cancel
Save