move users in the users object to make loginWithProgile general purpose (#6270)

* move users in the users object to make loginWithProgile general puropose

* add loginProfile in login page too

* fix

* fix

* fix

* fix

* fix

* fix

* more fix

* fix

* fix

* fix

* change

* fix script

* fix
This commit is contained in:
Eugenio Romano
2020-10-26 17:46:54 +00:00
committed by GitHub
parent c6a3da2a74
commit fca378a12b
51 changed files with 140 additions and 127 deletions
@@ -262,7 +262,7 @@ describe('Metadata component', () => {
});
it('[C279960] Should show the last username modifier when modify a File', async () => {
await loginPage.login(browser.params.testConfig.admin.email, browser.params.testConfig.admin.password);
await loginPage.loginWithProfile('admin');
await BrowserActions.getUrl(browser.baseUrl + `/(overlay:files/${pngFileModel.id}/view)`);