Fix tests
This commit is contained in:
+3
-3
@@ -21,8 +21,8 @@ describe('Application life cycle test', function () {
|
||||
|
||||
async function login(addr, pass) {
|
||||
await goto(`https://${app.fqdn}/auth/sign_in`, 'Log in');
|
||||
await sendKeys('css=#user_email', addr);
|
||||
await sendKeys('css=#user_password', pass);
|
||||
await sendKeys('label=E-mail address', addr);
|
||||
await sendKeys('label=Password', pass);
|
||||
await click('Log in');
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ describe('Application life cycle test', function () {
|
||||
});
|
||||
|
||||
it('shows confirmation page', async function () {
|
||||
await waitFor('css=a[href="/auth/confirmation/new"], form#edit_user_1');
|
||||
await waitFor('Check your inbox');
|
||||
});
|
||||
|
||||
it('uninstall app (no sso)', cloudronCli.uninstall);
|
||||
|
||||
Reference in New Issue
Block a user