Merge branch 'master' of github.com:coralproject/talk into user-status

This commit is contained in:
Belen Curcio
2017-11-08 13:56:48 -03:00
24 changed files with 311 additions and 104 deletions
+7
View File
@@ -8,6 +8,11 @@ module.exports = {
},
getEmbedSection() {
this.waitForElementVisible('@iframe');
// Pause a bit to let iframe initialize in the hope that it'll
// fix https://www.browserstack.com/automate/builds/96419cf46e3d6376a36ae6d3f90934112df1ed91/sessions/224f1a1566c1c8c7859e2e76ece51862200f0173#automate_button
this.api.pause(200);
this.api.frame(iframeId);
this.expect.section('@embed').to.be.present;
return this.section.embed;
@@ -67,11 +72,13 @@ module.exports = {
embed: {
commands: [{
getProfileSection() {
this.waitForElementVisible('@profileTabButton');
this.click('@profileTabButton');
this.expect.section('@profile').to.be.present;
return this.section.profile;
},
getCommentsSection() {
this.waitForElementVisible('@commentsTabButton');
this.click('@commentsTabButton');
this.expect.section('@comments').to.be.present;
return this.section.comments;