[ACS-8886] enable excluded test from ACA (#4170)

* [ACS-8886] enable excluded test

* [ACS-8886] enable excluded test

* [ACS-8886] test fix and added ticket to resovle

* [ACS-8886] test reexcluded as valid fail

* [ACS-8886] test enalbe

* [ACS-8886] test fix for admin
This commit is contained in:
Akash Rathod
2024-10-08 17:25:13 +02:00
committed by GitHub
parent e70ac05786
commit 2f507323ac
12 changed files with 19 additions and 58 deletions

View File

@@ -1,7 +1,3 @@
{
"C213217": "https://alfresco.atlassian.net/browse/ACS-6710",
"C213245": "https://alfresco.atlassian.net/browse/ACS-6717",
"C261153": "https://alfresco.atlassian.net/browse/AAE-7517",
"C589205": "https://alfresco.atlassian.net/browse/ACS-6710",
"C261150": "https://alfresco.atlassian.net/browse/ACS-6710"
"C261153": "https://alfresco.atlassian.net/browse/AAE-7517"
}

View File

@@ -23,21 +23,18 @@
*/
import { expect } from '@playwright/test';
import { ApiClientFactory, NodesApi, Utils, getUserState, test, TrashcanApi, users } from '@alfresco/aca-playwright-shared';
import { ApiClientFactory, NodesApi, Utils, test, users } from '@alfresco/aca-playwright-shared';
test.use({ storageState: getUserState('admin') });
test.describe('Trash admin', () => {
const folderAdmin = `deleteFolder-${Utils.random()}`;
const folderAdmin = `C213217-deleteFolder-${Utils.random()}`;
let folderAdminId: string;
let adminApiActions: NodesApi;
let adminTrashcanApi: TrashcanApi;
test.beforeAll(async () => {
try {
const apiClientFactory = new ApiClientFactory();
await apiClientFactory.setUpAcaBackend('admin');
adminApiActions = await NodesApi.initialize('admin');
adminTrashcanApi = await TrashcanApi.initialize('admin');
folderAdminId = (await adminApiActions.createFolder(folderAdmin)).entry.id;
await adminApiActions.deleteNodeById(folderAdminId, false);
} catch (error) {
@@ -46,7 +43,7 @@ test.describe('Trash admin', () => {
});
test.afterAll(async () => {
await Utils.deleteNodesSitesEmptyTrashcan(adminApiActions, adminTrashcanApi, '----- afterAll failed : ');
await adminApiActions.deleteDeletedNode(folderAdminId);
});
test.beforeEach(async ({ loginPage }) => {