mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[no-issue] Parallel run e2e and e2e common action refactoring (#4702)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { LoginPage, BrowserActions } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { CreateLibraryDialog } from '../../pages/adf/dialog/createLibraryDialog';
|
||||
import { CustomSources } from '../../pages/adf/demo-shell/customSourcesPage';
|
||||
@@ -23,7 +23,6 @@ import { CustomSources } from '../../pages/adf/demo-shell/customSourcesPage';
|
||||
import { AcsUserModel } from '../../models/ACS/acsUserModel';
|
||||
import TestConfig = require('../../test.config');
|
||||
import { AlfrescoApiCompatibility as AlfrescoApi } from '@alfresco/js-api';
|
||||
import { browser, Key } from 'protractor';
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
describe('Create library directive', function () {
|
||||
@@ -53,7 +52,7 @@ describe('Create library directive', function () {
|
||||
|
||||
await this.alfrescoJsApi.core.peopleApi.addPerson(acsUser);
|
||||
|
||||
loginPage.loginToContentServicesUsingUserModel(acsUser);
|
||||
await loginPage.loginToContentServicesUsingUserModel(acsUser);
|
||||
|
||||
createSite = await this.alfrescoJsApi.core.sitesApi.createSite({
|
||||
'title': StringUtil.generateRandomString(20).toLowerCase(),
|
||||
@@ -69,9 +68,8 @@ describe('Create library directive', function () {
|
||||
done();
|
||||
});
|
||||
|
||||
afterEach(async (done) => {
|
||||
await browser.actions().sendKeys(Key.ESCAPE).perform();
|
||||
done();
|
||||
afterEach(() => {
|
||||
BrowserActions.closeMenuAndDialogs();
|
||||
});
|
||||
|
||||
it('[C290158] Should display the Create Library defaults', () => {
|
||||
|
Reference in New Issue
Block a user