[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
49 changed files with 85 additions and 131 deletions

View File

@@ -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');
});
});