From 3acaf98f017df7e9169540ccd38a3eb4072caa61 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 23 Sep 2021 12:02:43 -0700 Subject: [PATCH] Fix no sso login test --- test/test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 39c32c0..863f226 100755 --- a/test/test.js +++ b/test/test.js @@ -5,6 +5,7 @@ /* global before */ /* global after */ /* global it */ +/* global xit */ 'use strict'; @@ -140,7 +141,10 @@ describe('Application life cycle test', function () { console.log(testPassword); }); - it('can login (no sso)', (done) => login('test@cloudron.io', testPassword, done)); + it('can login (no sso)', async function () { + await login('test@cloudron.io', testPassword); + }); + it('shows confirmation page', function () { return browser.wait(until.elementLocated(By.xpath('//span[contains(text(), "Waiting for e-mail confirmation to be completed")]')), TEST_TIMEOUT); });