mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-11-22 15:51:00 +00:00
Fix no sso login test
This commit is contained in:
parent
c3b9a16b73
commit
3acaf98f01
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue