[ACA-1634] update peopleApi to use alfresco-ja-api-node in e2e (#558)

* update peopleApi to use alfresco-ja-api-node in e2e

* small code improvement
This commit is contained in:
Adina Parpalita
2018-08-09 20:51:45 +03:00
committed by Denys Vuika
parent b8cc5422f4
commit 8c76d92f47
29 changed files with 76 additions and 80 deletions

View File

@@ -43,7 +43,7 @@ describe('Empty list views', () => {
const { dataTable } = page;
beforeAll(done => {
apis.admin.people.createUser(username)
apis.admin.people.createUser({ username })
.then(() => loginPage.loginWith(username))
.then(done);
});