Fix no sso login test
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
/* global before */
|
/* global before */
|
||||||
/* global after */
|
/* global after */
|
||||||
/* global it */
|
/* global it */
|
||||||
|
/* global xit */
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
@@ -140,7 +141,10 @@ describe('Application life cycle test', function () {
|
|||||||
console.log(testPassword);
|
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 () {
|
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);
|
return browser.wait(until.elementLocated(By.xpath('//span[contains(text(), "Waiting for e-mail confirmation to be completed")]')), TEST_TIMEOUT);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user