mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[Impreove e2e] Dev delete sites e2e missing (#5695)
* fix e2e sites delete * fix lint * permamenent
This commit is contained in:
@@ -125,7 +125,6 @@ describe('Restore content directive', () => {
|
||||
await contentServicesPage.checkContentIsDisplayed(folderName);
|
||||
|
||||
await notificationHistoryPage.checkNotifyContains('Can\'t restore, ' + folderName + ' item already exists');
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
@@ -246,7 +245,7 @@ describe('Restore content directive', () => {
|
||||
|
||||
afterAll(async () => {
|
||||
try {
|
||||
await this.alfrescoJsApi.core.sitesApi.deleteSite(publicSite.entry.id);
|
||||
await this.alfrescoJsApi.core.sitesApi.deleteSite(publicSite.entry.id, { permanent: true });
|
||||
} catch (error) {
|
||||
}
|
||||
});
|
||||
@@ -267,7 +266,6 @@ describe('Restore content directive', () => {
|
||||
await contentServicesPage.doubleClickRow(siteFolder.entry.name);
|
||||
await contentServicesPage.checkContentIsDisplayed(siteFile.entry.name);
|
||||
await notificationHistoryPage.checkNotifyContains(publicSite.entry.id + ' item restored');
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user