mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Increase timeout and modify login async (#4795)
* increase timeout and modify login async * run e2e if testing is changed * improve cdk fix * fix travis update projects * disable ghostMode lite server * lint fix * fix timeout * multiple try * Update content-services-e2e.sh * Update search-e2e.sh * Update process-services-e2e.sh * Update core-e2e.sh * Update protractor.conf.ts * fix unit * remove async * increqase notification time * 3 parallel * dix path issue in save * small refactor protractor ts * fix save * create license check first script adf cli * modify regex check * refactor notification history component * decrease notification * fix notification message problem * fix test * update packages wit high risk * revert cahnge login sso e2e * fix dep * fix documentation duplication and issue * fix after review * fix after review * try 6 parallel test * back to 3 parallel test no real time improve with 6
This commit is contained in:
@@ -17,14 +17,11 @@
|
||||
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { StringUtil } from '@alfresco/adf-testing';
|
||||
|
||||
import { LoginPage } from '@alfresco/adf-testing';
|
||||
import { StringUtil, LoginPage, NotificationHistoryPage } from '@alfresco/adf-testing';
|
||||
import { ContentServicesPage } from '../../pages/adf/contentServicesPage';
|
||||
import { UploadDialog } from '../../pages/adf/dialog/uploadDialog';
|
||||
import { UploadToggles } from '../../pages/adf/dialog/uploadToggles';
|
||||
import { NavigationBarPage } from '../../pages/adf/navigationBarPage';
|
||||
import { NotificationPage } from '../../pages/adf/notificationPage';
|
||||
|
||||
import { AcsUserModel } from '../../models/ACS/acsUserModel';
|
||||
import { FileModel } from '../../models/ACS/fileModel';
|
||||
@@ -45,7 +42,7 @@ describe('Upload - User permission', () => {
|
||||
let acsUser;
|
||||
let acsUserTwo;
|
||||
const navigationBarPage = new NavigationBarPage();
|
||||
const notificationPage = new NotificationPage();
|
||||
const notificationHistoryPage = new NotificationHistoryPage();
|
||||
|
||||
const emptyFile = new FileModel({
|
||||
'name': resources.Files.ADF_DOCUMENTS.TXT_0B.file_name,
|
||||
@@ -169,7 +166,7 @@ describe('Upload - User permission', () => {
|
||||
|
||||
contentServicesPage.uploadFile(emptyFile.location);
|
||||
|
||||
notificationPage.checkNotifyContains('You don\'t have the create permission to upload the content');
|
||||
notificationHistoryPage.checkNotifyContains('You don\'t have the create permission to upload the content');
|
||||
});
|
||||
|
||||
xit('[C279916] Should not be allowed to upload a folder in folder with consumer permissions', () => {
|
||||
@@ -194,7 +191,7 @@ describe('Upload - User permission', () => {
|
||||
|
||||
contentServicesPage.uploadFolder(folder.location);
|
||||
|
||||
notificationPage.checkNotifyContains('You don\'t have the create permission to upload the content');
|
||||
notificationHistoryPage.checkNotifyContains('You don\'t have the create permission to upload the content');
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user