From 3a145e99272da015216e1bbd503cd5889fbbc8ef Mon Sep 17 00:00:00 2001 From: Riley Davis Date: Mon, 6 Feb 2017 14:22:37 -0700 Subject: [PATCH] add a pause to see if anything changes --- test/e2e/tests/EmbedStreamTests.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/e2e/tests/EmbedStreamTests.js b/test/e2e/tests/EmbedStreamTests.js index 1b1fb40ab..5591d6b8d 100644 --- a/test/e2e/tests/EmbedStreamTests.js +++ b/test/e2e/tests/EmbedStreamTests.js @@ -4,8 +4,10 @@ const mocks = require('../mocks'); const mockComment = 'I read the comments'; const mockReply = 'This is a test reply'; const mockUser = { - email: `${new Date().getTime()}@test.com`, - name: 'testuser', + email: `${Date.now()}@test.com`, + name: `testuser${Math.random() + .toString() + .slice(-5)}`, pw: 'testtest' }; @@ -39,6 +41,7 @@ module.exports = { .setValue('#password', mockUser.pw) .setValue('#confirmPassword', mockUser.pw) .click('#coralSignUpButton') + .pause(5000) .waitForElementVisible('#coralLogInButton', 10000) .click('#coralLogInButton') .waitForElementVisible('.coral-plugin-commentbox-button', 4000)