mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4350]Fix cloud tests (#4544)
* Fix version-permissions tests * Fix the cloud tests * Fix process-services tests
This commit is contained in:
committed by
Eugenio Romano
parent
a37a44cb6f
commit
f152a24dc2
@@ -316,12 +316,6 @@ describe('Version component permissions', () => {
|
||||
uploadDialog.clickOnCloseButton();
|
||||
});
|
||||
|
||||
it('[C277203] Should a user with Collaborator permission not be able to upload a new version for a locked file', () => {
|
||||
contentServices.getDocumentList().rightClickOnRow(lockFileModel.name);
|
||||
const actionVersion = contentServices.checkContextActionIsVisible('Manage versions');
|
||||
expect(actionVersion.isEnabled()).toBeFalsy();
|
||||
});
|
||||
|
||||
it('[C277199] should a user with Collaborator permission be able to upload a new version for a file with different creator', () => {
|
||||
contentServices.versionManagerContent(differentCreatorFile.name);
|
||||
|
||||
@@ -341,6 +335,12 @@ describe('Version component permissions', () => {
|
||||
|
||||
versionManagePage.closeVersionDialog();
|
||||
});
|
||||
|
||||
it('[C277203] Should a user with Collaborator permission not be able to upload a new version for a locked file', () => {
|
||||
contentServices.getDocumentList().rightClickOnRow(lockFileModel.name);
|
||||
const actionVersion = contentServices.checkContextActionIsVisible('Manage versions');
|
||||
expect(actionVersion.isEnabled()).toBeFalsy();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user