mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
fix indentation, remove fdescribe, added forgotten afterAll
This commit is contained in:
@@ -47,12 +47,10 @@ export class LoginPage extends Page {
|
||||
});
|
||||
}
|
||||
|
||||
loginWith(username: string, password?: string): promise.Promise<void> {
|
||||
loginWith(username: string, password?: string): promise.Promise<any> {
|
||||
const pass = password || username;
|
||||
return this.login.enterCredentials(username, pass).submit()
|
||||
.then(() => {
|
||||
super.waitForApp();
|
||||
});
|
||||
.then(() => super.waitForApp());
|
||||
}
|
||||
|
||||
loginWithAdmin(): promise.Promise<any> {
|
||||
|
||||
Reference in New Issue
Block a user