[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

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

View File

@@ -260,7 +260,6 @@ describe('Search Radio Component', () => {
beforeAll(async () => {
await loginPage.loginToContentServicesUsingUserModel(acsUser);
});
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.creatorCheckListFiltersPage().filterBy(userOption);
});
afterAll(async () => {
@@ -97,9 +96,8 @@ describe('Search Component - Multi-Select Facet', () => {
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();
});
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 searchFiltersPage.checkSearchFiltersIsDisplayed();
});
afterAll(async () => {
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 () => {