mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[Impreove e2e] Dev delete sites e2e missing (#5695)
* fix e2e sites delete * fix lint * permamenent
This commit is contained in:
@@ -283,7 +283,6 @@ describe('Search Checklist Component', () => {
|
||||
|
||||
beforeAll(async () => {
|
||||
await loginPage.loginToContentServicesUsingUserModel(acsUser);
|
||||
|
||||
});
|
||||
|
||||
it('[C277018] Should be able to change the operator', async () => {
|
||||
|
@@ -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 () => {
|
||||
|
@@ -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 () => {
|
||||
|
Reference in New Issue
Block a user