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

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

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

Loading…
Cancel
Save