[Impreove e2e] Dev delete sites e2e missing (#5695)

* fix e2e sites delete

* fix lint

* permamenent
This commit is contained in:
Eugenio Romano 2020-05-13 22:35:31 +01:00 committed by GitHub
parent 0186d11fe8
commit bf729f60a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
49 changed files with 85 additions and 131 deletions

View File

@ -181,12 +181,11 @@ describe('Comment Component', () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
await navigationBarPage.clickContentServicesButton(); await navigationBarPage.clickContentServicesButton();
}); });
afterAll(async () => { afterAll(async () => {
await uploadActions.deleteFileOrFolder(pngUploadedFile.entry.id); await uploadActions.deleteFileOrFolder(pngUploadedFile.entry.id);
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
}); });
it('[C290147] Should NOT be able to add comments to a site file with Consumer permissions', async () => { it('[C290147] Should NOT be able to add comments to a site file with Consumer permissions', async () => {

View File

@ -62,6 +62,7 @@ describe('Create library directive', () => {
afterAll(async () => { afterAll(async () => {
await navigationBarPage.clickLogoutButton(); await navigationBarPage.clickLogoutButton();
await this.alfrescoJsApi.core.sitesApi.deleteSite(createSite.entry.id, { permanent: true });
}); });
beforeEach(async () => { beforeEach(async () => {

View File

@ -246,9 +246,7 @@ describe('Delete Directive', () => {
afterAll(async () => { afterAll(async () => {
try { try {
await this.alfrescoJsApi.core.sitesApi.deleteSite( await this.alfrescoJsApi.core.sitesApi.deleteSite(createdSite.entry.id, { permanent: true });
createdSite.entry.id
);
} catch (error) {} } catch (error) {}
}); });

View File

@ -228,7 +228,6 @@ describe('Edit folder directive', () => {
await loginPage.loginToContentServicesUsingUserModel(anotherAcsUser); await loginPage.loginToContentServicesUsingUserModel(anotherAcsUser);
await BrowserActions.getUrl(browser.params.testConfig.adf.url + '/files/' + editFolder.entry.id); await BrowserActions.getUrl(browser.params.testConfig.adf.url + '/files/' + editFolder.entry.id);
await contentServicesPage.getDocumentList().dataTablePage().waitTillContentLoaded(); await contentServicesPage.getDocumentList().dataTablePage().waitTillContentLoaded();
}); });
it('[C260167] Edit folder without permission', async () => { it('[C260167] Edit folder without permission', async () => {

View File

@ -125,7 +125,6 @@ describe('Restore content directive', () => {
await contentServicesPage.checkContentIsDisplayed(folderName); await contentServicesPage.checkContentIsDisplayed(folderName);
await notificationHistoryPage.checkNotifyContains('Can\'t restore, ' + folderName + ' item already exists'); await notificationHistoryPage.checkNotifyContains('Can\'t restore, ' + folderName + ' item already exists');
}); });
}); });
@ -246,7 +245,7 @@ describe('Restore content directive', () => {
afterAll(async () => { afterAll(async () => {
try { try {
await this.alfrescoJsApi.core.sitesApi.deleteSite(publicSite.entry.id); await this.alfrescoJsApi.core.sitesApi.deleteSite(publicSite.entry.id, { permanent: true });
} catch (error) { } catch (error) {
} }
}); });
@ -267,7 +266,6 @@ describe('Restore content directive', () => {
await contentServicesPage.doubleClickRow(siteFolder.entry.name); await contentServicesPage.doubleClickRow(siteFolder.entry.name);
await contentServicesPage.checkContentIsDisplayed(siteFile.entry.name); await contentServicesPage.checkContentIsDisplayed(siteFile.entry.name);
await notificationHistoryPage.checkNotifyContains(publicSite.entry.id + ' item restored'); await notificationHistoryPage.checkNotifyContains(publicSite.entry.id + ' item restored');
}); });
}); });

View File

@ -250,7 +250,6 @@ describe('Document List Component - Actions', () => {
await contentServicesPage.checkContextActionIsVisible('Info'); await contentServicesPage.checkContextActionIsVisible('Info');
await contentServicesPage.checkContextActionIsVisible('Permission'); await contentServicesPage.checkContextActionIsVisible('Permission');
}); });
}); });
}); });

View File

@ -94,7 +94,6 @@ describe('Document List Component', () => {
uploadedFolder = await uploadActions.createFolder(folderName, '-my-'); uploadedFolder = await uploadActions.createFolder(folderName, '-my-');
pdfUploadedNode = await uploadActions.uploadFile(pdfFileModel.location, pdfFileModel.name, '-my-'); pdfUploadedNode = await uploadActions.uploadFile(pdfFileModel.location, pdfFileModel.name, '-my-');
docxUploadedNode = await uploadActions.uploadFile(docxFileModel.location, docxFileModel.name, '-my-'); docxUploadedNode = await uploadActions.uploadFile(docxFileModel.location, docxFileModel.name, '-my-');
}); });
afterAll(async () => { afterAll(async () => {
@ -117,7 +116,6 @@ describe('Document List Component', () => {
beforeEach(async () => { beforeEach(async () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
}); });
it('[C279926] Should only display the user\'s files and folders', async () => { it('[C279926] Should only display the user\'s files and folders', async () => {
@ -142,7 +140,6 @@ describe('Document List Component', () => {
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
const dateValue = await contentServicesPage.getColumnValueForRow(timeAgoFileModel.name, 'Created'); const dateValue = await contentServicesPage.getColumnValueForRow(timeAgoFileModel.name, 'Created');
await expect(dateValue).toMatch(/(ago|few)/); await expect(dateValue).toMatch(/(ago|few)/);
}); });
it('[C279929] Should be able to display the date with date type', async () => { it('[C279929] Should be able to display the date with date type', async () => {
@ -153,7 +150,6 @@ describe('Document List Component', () => {
await contentServicesPage.enableMediumTimeFormat(); await contentServicesPage.enableMediumTimeFormat();
const dateValue = await contentServicesPage.getColumnValueForRow(mediumFileModel.name, 'Created'); const dateValue = await contentServicesPage.getColumnValueForRow(mediumFileModel.name, 'Created');
await expect(dateValue).toContain(createdDate); await expect(dateValue).toContain(createdDate);
}); });
}); });
@ -191,7 +187,6 @@ describe('Document List Component', () => {
await loginPage.loginToContentServicesUsingUserModel(user); await loginPage.loginToContentServicesUsingUserModel(user);
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
}); });
afterAll(async () => { afterAll(async () => {
@ -351,7 +346,6 @@ describe('Document List Component', () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
await contentServicesPage.checkListIsSortedByNameColumn('asc'); await contentServicesPage.checkListIsSortedByNameColumn('asc');
}); });
}); });
@ -375,7 +369,6 @@ describe('Document List Component', () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
await contentServicesPage.waitForTableBody(); await contentServicesPage.waitForTableBody();
}); });
it('[C291843] Should be able to navigate using nodes hyperlink when activated', async () => { it('[C291843] Should be able to navigate using nodes hyperlink when activated', async () => {

View File

@ -109,7 +109,7 @@ describe('Document List Component', () => {
await uploadActions.deleteFileOrFolder(uploadedFile.entry.id); await uploadActions.deleteFileOrFolder(uploadedFile.entry.id);
await uploadActions.deleteFileOrFolder(sourceFolder.entry.id); await uploadActions.deleteFileOrFolder(sourceFolder.entry.id);
await uploadActions.deleteFileOrFolder(destinationFolder.entry.id); await uploadActions.deleteFileOrFolder(destinationFolder.entry.id);
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id); await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
}); });
describe('Document List Component - Actions Move and Copy', () => { describe('Document List Component - Actions Move and Copy', () => {
@ -121,7 +121,6 @@ describe('Document List Component', () => {
beforeEach(async () => { beforeEach(async () => {
await BrowserActions.closeMenuAndDialogs(); await BrowserActions.closeMenuAndDialogs();
await navigationBarPage.clickContentServicesButton(); await navigationBarPage.clickContentServicesButton();
}); });
it('[C260128] Move - Same name file', async () => { it('[C260128] Move - Same name file', async () => {

View File

@ -76,7 +76,6 @@ describe('Document List Component', () => {
filePDFSubNode = await uploadActions.uploadFile(pdfFile.location, pdfFile.name, folderNode.entry.id); filePDFSubNode = await uploadActions.uploadFile(pdfFile.location, pdfFile.name, folderNode.entry.id);
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
}); });
afterAll(async () => { afterAll(async () => {

View File

@ -57,7 +57,7 @@ describe('Document List Component', () => {
afterAll(async () => { afterAll(async () => {
await navigationBarPage.clickLogoutButton(); await navigationBarPage.clickLogoutButton();
await this.alfrescoJsApi.core.sitesApi.deleteSite(privateSite.entry.id); await this.alfrescoJsApi.core.sitesApi.deleteSite(privateSite.entry.id, { permanent: true });
}); });
it('[C217334] Should display a message when accessing file without permissions', async () => { it('[C217334] Should display a message when accessing file without permissions', async () => {

View File

@ -59,14 +59,12 @@ describe('Document List Component - Properties', () => {
subFolder = await uploadActions.createFolder('subFolder', parentFolder.entry.id); subFolder = await uploadActions.createFolder('subFolder', parentFolder.entry.id);
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
}); });
afterEach(async () => { afterEach(async () => {
await this.alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword); await this.alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword);
await uploadActions.deleteFileOrFolder(subFolder.entry.id); await uploadActions.deleteFileOrFolder(subFolder.entry.id);
await uploadActions.deleteFileOrFolder(parentFolder.entry.id); await uploadActions.deleteFileOrFolder(parentFolder.entry.id);
}); });
it('[C299154] Should disallow upload content on a folder row if allowDropFiles is false', async () => { it('[C299154] Should disallow upload content on a folder row if allowDropFiles is false', async () => {

View File

@ -88,7 +88,6 @@ describe('Document List Component', () => {
fileTestNode = await uploadActions.uploadFile(testFile.location, testFile.name, '-my-'); fileTestNode = await uploadActions.uploadFile(testFile.location, testFile.name, '-my-');
fileDocxNode = await uploadActions.uploadFile(docxFile.location, docxFile.name, '-my-'); fileDocxNode = await uploadActions.uploadFile(docxFile.location, docxFile.name, '-my-');
folderNode = await uploadActions.createFolder(folderName, '-my-'); folderNode = await uploadActions.createFolder(folderName, '-my-');
}); });
afterAll(async () => { afterAll(async () => {
@ -126,25 +125,21 @@ describe('Document List Component', () => {
it('[C260119] Should have a specific thumbnail for folders', async () => { it('[C260119] Should have a specific thumbnail for folders', async () => {
const folderIconUrl = await contentServicesPage.getRowIconImageUrl(folderName); const folderIconUrl = await contentServicesPage.getRowIconImageUrl(folderName);
await expect(folderIconUrl).toContain('/assets/images/ft_ic_folder.svg'); await expect(folderIconUrl).toContain('/assets/images/ft_ic_folder.svg');
}); });
it('[C280066] Should have a specific thumbnail PDF files', async () => { it('[C280066] Should have a specific thumbnail PDF files', async () => {
const fileIconUrl = await contentServicesPage.getRowIconImageUrl(pdfFile.name); const fileIconUrl = await contentServicesPage.getRowIconImageUrl(pdfFile.name);
await expect(fileIconUrl).toContain('/assets/images/ft_ic_pdf.svg'); await expect(fileIconUrl).toContain('/assets/images/ft_ic_pdf.svg');
}); });
it('[C280067] Should have a specific thumbnail DOCX files', async () => { it('[C280067] Should have a specific thumbnail DOCX files', async () => {
const fileIconUrl = await contentServicesPage.getRowIconImageUrl(docxFile.name); const fileIconUrl = await contentServicesPage.getRowIconImageUrl(docxFile.name);
await expect(fileIconUrl).toContain('/assets/images/ft_ic_ms_word.svg'); await expect(fileIconUrl).toContain('/assets/images/ft_ic_ms_word.svg');
}); });
it('[C280068] Should have a specific thumbnail files', async () => { it('[C280068] Should have a specific thumbnail files', async () => {
const fileIconUrl = await contentServicesPage.getRowIconImageUrl(testFile.name); const fileIconUrl = await contentServicesPage.getRowIconImageUrl(testFile.name);
await expect(fileIconUrl).toContain('/assets/images/ft_ic_document.svg'); await expect(fileIconUrl).toContain('/assets/images/ft_ic_document.svg');
}); });
it('[C274701] Should be able to enable thumbnails', async () => { it('[C274701] Should be able to enable thumbnails', async () => {
@ -152,7 +147,6 @@ describe('Document List Component', () => {
await contentServicesPage.checkAcsContainer(); await contentServicesPage.checkAcsContainer();
const fileIconUrl = await contentServicesPage.getRowIconImageUrl(pdfFile.name); const fileIconUrl = await contentServicesPage.getRowIconImageUrl(pdfFile.name);
await expect(fileIconUrl).toContain(`/versions/1/nodes/${filePdfNode.entry.id}/renditions`); await expect(fileIconUrl).toContain(`/versions/1/nodes/${filePdfNode.entry.id}/renditions`);
}); });
}); });
}); });

View File

@ -74,13 +74,16 @@ describe('Lock File', () => {
}); });
}); });
afterAll(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
});
describe('Lock file interaction with the UI', () => { describe('Lock file interaction with the UI', () => {
beforeAll(async () => { beforeAll(async () => {
const pngLockedUploadedFile = await uploadActions.uploadFile(pngFileToLock.location, pngFileToLock.name, documentLibrary); const pngLockedUploadedFile = await uploadActions.uploadFile(pngFileToLock.location, pngFileToLock.name, documentLibrary);
lockedFileNodeId = pngLockedUploadedFile.entry.id; lockedFileNodeId = pngLockedUploadedFile.entry.id;
}); });
beforeEach(async () => { beforeEach(async () => {
@ -177,7 +180,6 @@ describe('Lock File', () => {
await loginPage.loginToContentServicesUsingUserModel(managerUser); await loginPage.loginToContentServicesUsingUserModel(managerUser);
await navigationBarPage.openContentServicesFolder(documentLibrary); await navigationBarPage.openContentServicesFolder(documentLibrary);
}); });
afterEach(async () => { afterEach(async () => {

View File

@ -92,7 +92,7 @@ describe('permissions', () => {
afterAll(async () => { afterAll(async () => {
await navigationBarPage.clickLogoutButton(); await navigationBarPage.clickLogoutButton();
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id); await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
}); });
it('[C274692] Should not be possible edit metadata properties when the user is a consumer user', async () => { it('[C274692] Should not be possible edit metadata properties when the user is a consumer user', async () => {

View File

@ -183,7 +183,6 @@ describe('Permissions Component', () => {
await contentList.rightClickOnRow(fileModel.name); await contentList.rightClickOnRow(fileModel.name);
await contentServicesPage.pressContextMenuActionNamed('Permission'); await contentServicesPage.pressContextMenuActionNamed('Permission');
await permissionsPage.checkPermissionContainerIsDisplayed(); await permissionsPage.checkPermissionContainerIsDisplayed();
}); });
afterEach(async () => { afterEach(async () => {

View File

@ -153,8 +153,8 @@ describe('Permissions Component', () => {
await navigationBarPage.clickLogoutButton(); await navigationBarPage.clickLogoutButton();
await this.alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword); await this.alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword);
await this.alfrescoJsApi.core.sitesApi.deleteSite(publicSite.entry.id); await this.alfrescoJsApi.core.sitesApi.deleteSite(publicSite.entry.id, { permanent: true });
await this.alfrescoJsApi.core.sitesApi.deleteSite(privateSite.entry.id); await this.alfrescoJsApi.core.sitesApi.deleteSite(privateSite.entry.id, { permanent: true });
}); });
describe('Role Site Dropdown', () => { describe('Role Site Dropdown', () => {
@ -163,7 +163,6 @@ describe('Permissions Component', () => {
await loginPage.loginToContentServicesUsingUserModel(folderOwnerUser); await loginPage.loginToContentServicesUsingUserModel(folderOwnerUser);
await BrowserActions.getUrl(browser.params.testConfig.adf.url + '/files/' + publicSite.entry.guid); await BrowserActions.getUrl(browser.params.testConfig.adf.url + '/files/' + publicSite.entry.guid);
}); });
it('[C277002] Should display the Role Site dropdown', async () => { it('[C277002] Should display the Role Site dropdown', async () => {
@ -228,7 +227,6 @@ describe('Permissions Component', () => {
await contentServicesPage.uploadFile(testFileModel.location); await contentServicesPage.uploadFile(testFileModel.location);
await notificationHistoryPage.checkNotifyContains('You don\'t have the create permission to upload the content'); await notificationHistoryPage.checkNotifyContains('You don\'t have the create permission to upload the content');
}); });
it('[C276997] Role SiteContributor', async () => { it('[C276997] Role SiteContributor', async () => {
@ -259,7 +257,6 @@ describe('Permissions Component', () => {
await uploadDialog.fileIsUploaded(testFileModel.name); await uploadDialog.fileIsUploaded(testFileModel.name);
await uploadDialog.clickOnCloseButton(); await uploadDialog.clickOnCloseButton();
await uploadDialog.dialogIsNotDisplayed(); await uploadDialog.dialogIsNotDisplayed();
}); });
it('[C277005] Role SiteCollaborator', async () => { it('[C277005] Role SiteCollaborator', async () => {

View File

@ -110,6 +110,7 @@ describe('Unshare file', () => {
afterAll(async () => { afterAll(async () => {
await navigationBarPage.clickLogoutButton(); await navigationBarPage.clickLogoutButton();
await this.alfrescoJsApi.core.sitesApi.deleteSite(testSite.entry.id, { permanent: true });
}); });
afterEach(async () => { afterEach(async () => {
@ -119,7 +120,6 @@ describe('Unshare file', () => {
describe('with permission', () => { describe('with permission', () => {
afterAll(async () => { afterAll(async () => {
await uploadActions.deleteFileOrFolder(nodeId); await uploadActions.deleteFileOrFolder(nodeId);
}); });
it('[C286550] Should display unshare confirmation dialog', async () => { it('[C286550] Should display unshare confirmation dialog', async () => {
@ -168,7 +168,6 @@ describe('Unshare file', () => {
afterAll(async () => { afterAll(async () => {
await this.alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword); await this.alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword);
await this.alfrescoJsApi.core.sitesApi.deleteSite(siteName, { permanent: true }); await this.alfrescoJsApi.core.sitesApi.deleteSite(siteName, { permanent: true });
}); });
it('[C286555] Should NOT be able to unshare file without permission', async () => { it('[C286555] Should NOT be able to unshare file without permission', async () => {

View File

@ -90,11 +90,15 @@ describe('Upload - User permission', () => {
}); });
}); });
afterEach(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(this.managerSite.entry.id, { permanent: true });
await this.alfrescoJsApi.core.sitesApi.deleteSite(this.consumerSite.entry.id, { permanent: true });
});
describe('Consumer permissions', () => { describe('Consumer permissions', () => {
beforeEach(async () => { beforeEach(async () => {
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
}); });
it('[C291921] Should display tooltip for uploading files without permissions', async () => { it('[C291921] Should display tooltip for uploading files without permissions', async () => {
@ -136,7 +140,6 @@ describe('Upload - User permission', () => {
await navigationBarPage.openContentServicesFolder(this.managerSite.entry.guid); await navigationBarPage.openContentServicesFolder(this.managerSite.entry.guid);
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
}); });
it('[C279917] Should be allowed to upload a file in a folder with manager permissions', async () => { it('[C279917] Should be allowed to upload a file in a folder with manager permissions', async () => {
@ -150,7 +153,6 @@ describe('Upload - User permission', () => {
beforeEach(async () => { beforeEach(async () => {
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
}); });
it('[C260175] Should two different user upload files in the proper User Home', async () => { it('[C260175] Should two different user upload files in the proper User Home', async () => {

View File

@ -67,7 +67,6 @@ describe('Version component permissions', () => {
const nodeActions = new NodeActions(); const nodeActions = new NodeActions();
beforeAll(async () => { beforeAll(async () => {
await this.alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword); await this.alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword);
await this.alfrescoJsApi.core.peopleApi.addPerson(acsUser); await this.alfrescoJsApi.core.peopleApi.addPerson(acsUser);
await this.alfrescoJsApi.core.peopleApi.addPerson(consumerUser); await this.alfrescoJsApi.core.peopleApi.addPerson(consumerUser);
@ -116,6 +115,10 @@ describe('Version component permissions', () => {
await uploadActions.uploadFile(differentCreatorFile.location, differentCreatorFile.name, site.entry.guid); await uploadActions.uploadFile(differentCreatorFile.location, differentCreatorFile.name, site.entry.guid);
}); });
afterAll(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
});
describe('Manager', () => { describe('Manager', () => {
const sameCreatorFile = new FileModel({ const sameCreatorFile = new FileModel({
@ -172,7 +175,6 @@ describe('Version component permissions', () => {
await loginPage.loginToContentServicesUsingUserModel(consumerUser); await loginPage.loginToContentServicesUsingUserModel(consumerUser);
await navigationBarPage.openContentServicesFolder(site.entry.guid); await navigationBarPage.openContentServicesFolder(site.entry.guid);
}); });
afterAll(async () => { afterAll(async () => {
@ -206,7 +208,6 @@ describe('Version component permissions', () => {
await loginPage.loginToContentServicesUsingUserModel(contributorUser); await loginPage.loginToContentServicesUsingUserModel(contributorUser);
await navigationBarPage.openContentServicesFolder(site.entry.guid); await navigationBarPage.openContentServicesFolder(site.entry.guid);
}); });
afterAll(async () => { afterAll(async () => {
@ -262,7 +263,6 @@ describe('Version component permissions', () => {
await loginPage.loginToContentServicesUsingUserModel(collaboratorUser); await loginPage.loginToContentServicesUsingUserModel(collaboratorUser);
await navigationBarPage.openContentServicesFolder(site.entry.guid); await navigationBarPage.openContentServicesFolder(site.entry.guid);
}); });
afterAll(async () => { afterAll(async () => {

View File

@ -61,7 +61,6 @@ describe('Datatable component', () => {
beforeAll(async () => { beforeAll(async () => {
await navigationBarPage.navigateToCopyContentDatatable(); await navigationBarPage.navigateToCopyContentDatatable();
await dataTablePage.dataTable.waitForTableBody(); await dataTablePage.dataTable.waitForTableBody();
}); });
it('[C307037] A tooltip is displayed when mouseOver a column with copyContent set to true', async () => { it('[C307037] A tooltip is displayed when mouseOver a column with copyContent set to true', async () => {

View File

@ -71,7 +71,6 @@ describe('Login component - SSO', () => {
await loginPage.clickSignInButton(); await loginPage.clickSignInButton();
await BrowserVisibility.waitUntilElementIsVisible(loginPage.sidenavLayout); await BrowserVisibility.waitUntilElementIsVisible(loginPage.sidenavLayout);
}); });
}); });
}); });

View File

@ -40,7 +40,6 @@ describe('Settings component', () => {
describe('Should be able to change Urls in the Settings', () => { describe('Should be able to change Urls in the Settings', () => {
beforeEach(async () => { beforeEach(async () => {
await settingsPage.goToSettingsPage(); await settingsPage.goToSettingsPage();
}); });
it('[C245641] Should navigate User from Settings page to Login screen', async () => { it('[C245641] Should navigate User from Settings page to Login screen', async () => {

View File

@ -59,6 +59,7 @@ describe('Viewer', () => {
}); });
afterAll(async () => { afterAll(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
await navigationBarPage.clickLogoutButton(); await navigationBarPage.clickLogoutButton();
}); });
@ -71,12 +72,10 @@ describe('Viewer', () => {
uploadedArchives = await uploadActions.uploadFolder(archiveFolderInfo.location, archiveFolderUploaded.entry.id); uploadedArchives = await uploadActions.uploadFolder(archiveFolderInfo.location, archiveFolderUploaded.entry.id);
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
}); });
afterAll(async () => { afterAll(async () => {
await uploadActions.deleteFileOrFolder(archiveFolderUploaded.entry.id); await uploadActions.deleteFileOrFolder(archiveFolderUploaded.entry.id);
}); });
it('[C260517] Should be possible to open any Archive file', async () => { it('[C260517] Should be possible to open any Archive file', async () => {

View File

@ -71,6 +71,7 @@ describe('Viewer', () => {
}); });
afterAll(async () => { afterAll(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
await navigationBarPage.clickLogoutButton(); await navigationBarPage.clickLogoutButton();
}); });
@ -99,12 +100,10 @@ describe('Viewer', () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
}); });
afterAll(async () => { afterAll(async () => {
await uploadActions.deleteFileOrFolder(otherFolderUploaded.entry.id); await uploadActions.deleteFileOrFolder(otherFolderUploaded.entry.id);
}); });
it('[C280012] Should be possible to open any other Document supported extension', async () => { it('[C280012] Should be possible to open any other Document supported extension', async () => {

View File

@ -57,6 +57,11 @@ describe('Viewer', () => {
await this.alfrescoJsApi.login(acsUser.id, acsUser.password); await this.alfrescoJsApi.login(acsUser.id, acsUser.password);
}); });
afterAll(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
});
describe('Excel Folder Uploaded', () => { describe('Excel Folder Uploaded', () => {
let uploadedExcels; let uploadedExcels;
@ -69,12 +74,10 @@ describe('Viewer', () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
}); });
afterAll(async () => { afterAll(async () => {
await uploadActions.deleteFileOrFolder(excelFolderUploaded.entry.id); await uploadActions.deleteFileOrFolder(excelFolderUploaded.entry.id);
}); });
it('[C280008] Should be possible to open any Excel file', async () => { it('[C280008] Should be possible to open any Excel file', async () => {

View File

@ -63,6 +63,10 @@ describe('Viewer', () => {
await this.alfrescoJsApi.login(acsUser.id, acsUser.password); await this.alfrescoJsApi.login(acsUser.id, acsUser.password);
}); });
afterAll(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
});
describe('Image Folder Uploaded', () => { describe('Image Folder Uploaded', () => {
let uploadedImages, uploadedImgRenditionFolderInfo; let uploadedImages, uploadedImgRenditionFolderInfo;
@ -79,12 +83,10 @@ describe('Viewer', () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
}); });
afterAll(async () => { afterAll(async () => {
await uploadActions.deleteFileOrFolder(imgFolderUploaded.entry.id); await uploadActions.deleteFileOrFolder(imgFolderUploaded.entry.id);
}); });
it('[C279966] Should be possible to open any Image supported extension', async () => { it('[C279966] Should be possible to open any Image supported extension', async () => {

View File

@ -59,6 +59,10 @@ describe('Viewer', () => {
await this.alfrescoJsApi.login(acsUser.id, acsUser.password); await this.alfrescoJsApi.login(acsUser.id, acsUser.password);
}); });
afterAll(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
});
describe('PowerPoint Folder Uploaded', () => { describe('PowerPoint Folder Uploaded', () => {
let uploadedPpt; let uploadedPpt;
@ -71,12 +75,10 @@ describe('Viewer', () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
}); });
afterAll(async () => { afterAll(async () => {
await uploadActions.deleteFileOrFolder(pptFolderUploaded.entry.id); await uploadActions.deleteFileOrFolder(pptFolderUploaded.entry.id);
}); });
it('[C280009] Should be possible to open any PowerPoint file', async () => { it('[C280009] Should be possible to open any PowerPoint file', async () => {

View File

@ -58,6 +58,10 @@ describe('Viewer', () => {
await this.alfrescoJsApi.login(acsUser.id, acsUser.password); await this.alfrescoJsApi.login(acsUser.id, acsUser.password);
}); });
afterAll(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
});
describe('Text Folder Uploaded', () => { describe('Text Folder Uploaded', () => {
let uploadedTexts; let uploadedTexts;
@ -70,12 +74,10 @@ describe('Viewer', () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
}); });
afterAll(async () => { afterAll(async () => {
await uploadActions.deleteFileOrFolder(textFolderUploaded.entry.id); await uploadActions.deleteFileOrFolder(textFolderUploaded.entry.id);
}); });
it('[C280010] Should be possible to open any Text file', async () => { it('[C280010] Should be possible to open any Text file', async () => {

View File

@ -62,6 +62,7 @@ describe('Viewer', () => {
}); });
afterAll(async () => { afterAll(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
await navigationBarPage.clickLogoutButton(); await navigationBarPage.clickLogoutButton();
}); });
@ -77,12 +78,10 @@ describe('Viewer', () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
await contentServicesPage.goToDocumentList(); await contentServicesPage.goToDocumentList();
}); });
afterAll(async () => { afterAll(async () => {
await uploadActions.deleteFileOrFolder(wordFolderUploaded.entry.id); await uploadActions.deleteFileOrFolder(wordFolderUploaded.entry.id);
}); });
it('[C280011] Should be possible to open any Word file', async () => { it('[C280011] Should be possible to open any Word file', async () => {

View File

@ -66,6 +66,7 @@ describe('Info Drawer', () => {
afterAll(async () => { afterAll(async () => {
await this.alfrescoJsApi.login(acsUser.id, acsUser.password); await this.alfrescoJsApi.login(acsUser.id, acsUser.password);
await uploadActions.deleteFileOrFolder(pngFileUploaded.entry.id); await uploadActions.deleteFileOrFolder(pngFileUploaded.entry.id);
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
}); });
beforeEach(async() => { beforeEach(async() => {

View File

@ -69,6 +69,7 @@ describe('Viewer', () => {
}); });
afterAll(async () => { afterAll(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
await this.alfrescoJsApi.login(acsUser.id, acsUser.password); await this.alfrescoJsApi.login(acsUser.id, acsUser.password);
await uploadActions.deleteFileOrFolder(jsFileUploaded.entry.id); await uploadActions.deleteFileOrFolder(jsFileUploaded.entry.id);
}); });

View File

@ -80,6 +80,7 @@ describe('Viewer', () => {
}); });
afterAll(async () => { afterAll(async () => {
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
await this.alfrescoJsApi.login(acsUser.id, acsUser.password); await this.alfrescoJsApi.login(acsUser.id, acsUser.password);
await uploadActions.deleteFileOrFolder(wordFileUploaded.entry.id); await uploadActions.deleteFileOrFolder(wordFileUploaded.entry.id);
}); });

View File

@ -50,7 +50,6 @@ describe('Edit process filters cloud', () => {
afterAll(async () => { afterAll(async () => {
await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password); await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password);
await identityService.deleteIdentityUser(testUser.idIdentityService); await identityService.deleteIdentityUser(testUser.idIdentityService);
}); });
beforeEach(async () => { beforeEach(async () => {

View File

@ -240,7 +240,6 @@ describe('People Groups Cloud Component', () => {
await peopleCloudComponent.searchAssigneeToExisting(noRoleUser.lastName); await peopleCloudComponent.searchAssigneeToExisting(noRoleUser.lastName);
await peopleCloudComponent.checkUserIsNotDisplayed(`${noRoleUser.firstName} ${noRoleUser.lastName}`); await peopleCloudComponent.checkUserIsNotDisplayed(`${noRoleUser.firstName} ${noRoleUser.lastName}`);
}); });
it('[C309677] Should populate the Users without any validation when the Preselect flag is set to false', async () => { it('[C309677] Should populate the Users without any validation when the Preselect flag is set to false', async () => {
@ -255,7 +254,6 @@ describe('People Groups Cloud Component', () => {
await peopleCloudComponent.checkSelectedPeople('TestFirstName1 TestLastName1'); await peopleCloudComponent.checkSelectedPeople('TestFirstName1 TestLastName1');
await peopleCloudComponent.checkSelectedPeople('TestFirstName2 TestLastName2'); await peopleCloudComponent.checkSelectedPeople('TestFirstName2 TestLastName2');
await peopleCloudComponent.checkSelectedPeople('TestFirstName3 TestLastName3'); await peopleCloudComponent.checkSelectedPeople('TestFirstName3 TestLastName3');
}); });
}); });
}); });

View File

@ -101,7 +101,6 @@ describe('Process list cloud', () => {
await loginSSOPage.loginSSOIdentityService(testUser.email, testUser.password); await loginSSOPage.loginSSOIdentityService(testUser.email, testUser.password);
await LocalStorageUtil.setConfigField('adf-edit-process-filter', JSON.stringify(editProcessFilterConfigFile)); await LocalStorageUtil.setConfigField('adf-edit-process-filter', JSON.stringify(editProcessFilterConfigFile));
await LocalStorageUtil.setConfigField('adf-cloud-process-list', JSON.stringify(processListCloudConfigFile)); await LocalStorageUtil.setConfigField('adf-cloud-process-list', JSON.stringify(processListCloudConfigFile));
}); });
afterAll(async () => { afterAll(async () => {

View File

@ -95,7 +95,6 @@ describe('Process filters cloud', () => {
afterAll(async () => { afterAll(async () => {
await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password); await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password);
await identityService.deleteIdentityUser(testUser.idIdentityService); await identityService.deleteIdentityUser(testUser.idIdentityService);
}); });
beforeEach(async () => { beforeEach(async () => {
@ -104,7 +103,6 @@ describe('Process filters cloud', () => {
await appListCloudComponent.goToApp(candidateBaseApp); await appListCloudComponent.goToApp(candidateBaseApp);
await tasksCloudDemoPage.taskListCloudComponent().checkTaskListIsLoaded(); await tasksCloudDemoPage.taskListCloudComponent().checkTaskListIsLoaded();
await processCloudDemoPage.processFilterCloudComponent.clickOnProcessFilters(); await processCloudDemoPage.processFilterCloudComponent.clickOnProcessFilters();
}); });
it('[C290021] Should be able to view default filters', async () => { it('[C290021] Should be able to view default filters', async () => {

View File

@ -78,7 +78,6 @@ describe('Process list cloud', () => {
afterAll(async () => { afterAll(async () => {
await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password); await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password);
await identityService.deleteIdentityUser(testUser.idIdentityService); await identityService.deleteIdentityUser(testUser.idIdentityService);
}); });
beforeAll(async () => { beforeAll(async () => {

View File

@ -308,7 +308,6 @@ describe('Start Task Form', () => {
await processCloudDemoPage.editProcessFilterCloudComponent().openFilter(); await processCloudDemoPage.editProcessFilterCloudComponent().openFilter();
await processCloudDemoPage.editProcessFilterCloudComponent().setProcessName(startEventFormProcess); await processCloudDemoPage.editProcessFilterCloudComponent().setProcessName(startEventFormProcess);
await processCloudDemoPage.processListCloudComponent().checkContentIsDisplayedById(processId); await processCloudDemoPage.processListCloudComponent().checkContentIsDisplayedById(processId);
}); });
}); });

View File

@ -48,13 +48,11 @@ describe('Task filters cloud', () => {
await apiService.login(testUser.email, testUser.password); await apiService.login(testUser.email, testUser.password);
await loginSSOPage.loginSSOIdentityService(testUser.email, testUser.password); await loginSSOPage.loginSSOIdentityService(testUser.email, testUser.password);
}); });
afterAll(async() => { afterAll(async() => {
await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password); await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password);
await identityService.deleteIdentityUser(testUser.idIdentityService); await identityService.deleteIdentityUser(testUser.idIdentityService);
}); });
beforeEach(async () => { beforeEach(async () => {

View File

@ -65,13 +65,11 @@ describe('Process list cloud', () => {
await tasksService.claimTask(deleteTask.list.entries[0].entry.id, simpleApp); await tasksService.claimTask(deleteTask.list.entries[0].entry.id, simpleApp);
await loginSSOPage.loginSSOIdentityService(testUser.email, testUser.password); await loginSSOPage.loginSSOIdentityService(testUser.email, testUser.password);
}); });
afterAll(async() => { afterAll(async() => {
await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password); await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password);
await identityService.deleteIdentityUser(testUser.idIdentityService); await identityService.deleteIdentityUser(testUser.idIdentityService);
}); });
beforeAll(async () => { beforeAll(async () => {

View File

@ -60,13 +60,11 @@ describe('Task list cloud - selection', () => {
} }
await loginSSOPage.loginSSOIdentityService(testUser.email, testUser.password); await loginSSOPage.loginSSOIdentityService(testUser.email, testUser.password);
}); });
afterAll(async() => { afterAll(async() => {
await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password); await apiService.login(browser.params.identityAdmin.email, browser.params.identityAdmin.password);
await identityService.deleteIdentityUser(testUser.idIdentityService); await identityService.deleteIdentityUser(testUser.idIdentityService);
}); });
beforeEach(async () => { beforeEach(async () => {

View File

@ -112,7 +112,6 @@ describe('Task filters cloud', () => {
await appListCloudComponent.checkApsContainer(); await appListCloudComponent.checkApsContainer();
await appListCloudComponent.goToApp(simpleApp); await appListCloudComponent.goToApp(simpleApp);
await tasksCloudDemoPage.taskListCloudComponent().getDataTable().waitForTableBody(); await tasksCloudDemoPage.taskListCloudComponent().getDataTable().waitForTableBody();
}); });
it('[C290045] Should display only tasks with Assigned status when Assigned is selected from status dropdown', async () => { it('[C290045] Should display only tasks with Assigned status when Assigned is selected from status dropdown', async () => {

View File

@ -77,14 +77,12 @@ describe('Form widgets', () => {
const formDefinition = await alfrescoJsApi.activiti.taskFormsApi.getTaskForm(response); const formDefinition = await alfrescoJsApi.activiti.taskFormsApi.getTaskForm(response);
formInstance.setFields(formDefinition.fields); formInstance.setFields(formDefinition.fields);
formInstance.setAllWidgets(formDefinition.fields); formInstance.setAllWidgets(formDefinition.fields);
}); });
afterAll(async () => { afterAll(async () => {
await alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword); await alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword);
await alfrescoJsApi.activiti.adminTenantsApi.deleteTenant(processUserModel.tenantId); await alfrescoJsApi.activiti.adminTenantsApi.deleteTenant(processUserModel.tenantId);
}); });
it('[C272778] Should display text and multi-line in form', async () => { it('[C272778] Should display text and multi-line in form', async () => {
@ -221,7 +219,6 @@ describe('Form widgets', () => {
const processUtil = new ProcessUtil(alfrescoJsApi); const processUtil = new ProcessUtil(alfrescoJsApi);
process = await processUtil.startProcessOfApp(appModel.name); process = await processUtil.startProcessOfApp(appModel.name);
await loginPage.loginToProcessServicesUsingUserModel(processUserModel); await loginPage.loginToProcessServicesUsingUserModel(processUserModel);
}); });
beforeEach(async () => { beforeEach(async () => {
@ -235,7 +232,6 @@ describe('Form widgets', () => {
await alfrescoJsApi.activiti.processApi.deleteProcessInstance(process.id); await alfrescoJsApi.activiti.processApi.deleteProcessInstance(process.id);
await alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword); await alfrescoJsApi.login(browser.params.testConfig.adf.adminEmail, browser.params.testConfig.adf.adminPassword);
await alfrescoJsApi.activiti.adminTenantsApi.deleteTenant(processUserModel.tenantId); await alfrescoJsApi.activiti.adminTenantsApi.deleteTenant(processUserModel.tenantId);
}); });
it('[C260405] Value fields configured with process variables', async () => { it('[C260405] Value fields configured with process variables', async () => {

View File

@ -91,7 +91,6 @@ describe('Process List - Pagination', () => {
beforeEach(async () => { beforeEach(async () => {
await (await (await navigationBarPage.navigateToProcessServicesPage()).goToTaskApp()).clickProcessButton(); await (await (await navigationBarPage.navigateToProcessServicesPage()).goToTaskApp()).clickProcessButton();
}); });
it('[C261042] Should display default pagination', async() => { it('[C261042] Should display default pagination', async() => {

View File

@ -520,7 +520,6 @@ describe('Start Process Component', () => {
const appCreated = await applicationsService.importPublishDeployApp(startProcessAttachFileApp.file_path); const appCreated = await applicationsService.importPublishDeployApp(startProcessAttachFileApp.file_path);
appId = appCreated.id; appId = appCreated.id;
}); });
afterAll(async () => { afterAll(async () => {

View File

@ -67,7 +67,6 @@ describe('Task', () => {
await navigationBarPage.navigateToProcessServicesPage(); await navigationBarPage.navigateToProcessServicesPage();
await processServicesPage.checkApsContainer(); await processServicesPage.checkApsContainer();
await processServicesPage.goToApp(app.title); await processServicesPage.goToApp(app.title);
}); });
afterEach(async () => { afterEach(async () => {

View File

@ -283,7 +283,6 @@ describe('Search Checklist Component', () => {
beforeAll(async () => { beforeAll(async () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
}); });
it('[C277018] Should be able to change the operator', async () => { it('[C277018] Should be able to change the operator', async () => {

View File

@ -260,7 +260,6 @@ describe('Search Radio Component', () => {
beforeAll(async () => { beforeAll(async () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser); await loginPage.loginToContentServicesUsingUserModel(acsUser);
}); });
it('[C277033] Should be able to add a new option', async () => { it('[C277033] Should be able to add a new option', async () => {

View File

@ -86,7 +86,6 @@ describe('Search Component - Multi-Select Facet', () => {
await searchFiltersPage.checkSearchFiltersIsDisplayed(); await searchFiltersPage.checkSearchFiltersIsDisplayed();
await searchFiltersPage.creatorCheckListFiltersPage().filterBy(userOption); await searchFiltersPage.creatorCheckListFiltersPage().filterBy(userOption);
}); });
afterAll(async () => { afterAll(async () => {
@ -97,9 +96,8 @@ describe('Search Component - Multi-Select Facet', () => {
uploadActions.deleteFileOrFolder(txtFileSite.entry.id) uploadActions.deleteFileOrFolder(txtFileSite.entry.id)
]); ]);
await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id); await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
await navigationBarPage.clickLogoutButton(); await navigationBarPage.clickLogoutButton();
}); });
it('[C280054] Should be able to select multiple items from a search facet filter', async () => { it('[C280054] Should be able to select multiple items from a search facet filter', async () => {
@ -224,13 +222,11 @@ describe('Search Component - Multi-Select Facet', () => {
await searchDialog.enterTextAndPressEnter(`*${randomName}*`); await searchDialog.enterTextAndPressEnter(`*${randomName}*`);
await searchFiltersPage.checkSearchFiltersIsDisplayed(); await searchFiltersPage.checkSearchFiltersIsDisplayed();
}); });
afterAll(async () => { afterAll(async () => {
await uploadActions.deleteFileOrFolder(txtFile.entry.id); await uploadActions.deleteFileOrFolder(txtFile.entry.id);
await this.alfrescoJsApi.core.sitesApi; await this.alfrescoJsApi.core.sitesApi.deleteSite(site.entry.id, { permanent: true });
}); });
it('[C280058] Should update filter facets items number when another filter facet item is selected', async () => { it('[C280058] Should update filter facets items number when another filter facet item is selected', async () => {