diff --git a/e2e/playwright/copy-move-actions/exclude.tests.json b/e2e/playwright/copy-move-actions/exclude.tests.json index db5930c4b5..0967ef424b 100644 --- a/e2e/playwright/copy-move-actions/exclude.tests.json +++ b/e2e/playwright/copy-move-actions/exclude.tests.json @@ -1,13 +1 @@ -{ - "C217135": "https://hyland.atlassian.net/browse/ACS-8812", - "C291888": "https://hyland.atlassian.net/browse/ACS-8812", - "C291889": "https://hyland.atlassian.net/browse/ACS-8812", - "C217137": "https://hyland.atlassian.net/browse/ACS-8812", - "C217138": "https://hyland.atlassian.net/browse/ACS-8812", - "C217139": "https://hyland.atlassian.net/browse/ACS-8812", - "C217140": "https://hyland.atlassian.net/browse/ACS-8812", - "C217171": "https://hyland.atlassian.net/browse/ACS-8812", - "C217172": "https://hyland.atlassian.net/browse/ACS-8812", - "C217173": "https://hyland.atlassian.net/browse/ACS-8812", - "C217174": "https://hyland.atlassian.net/browse/ACS-8812" -} +{} diff --git a/e2e/playwright/delete-actions/exclude.tests.json b/e2e/playwright/delete-actions/exclude.tests.json index 00ab00aba5..c2ad5b849d 100644 --- a/e2e/playwright/delete-actions/exclude.tests.json +++ b/e2e/playwright/delete-actions/exclude.tests.json @@ -1,18 +1,3 @@ { - "C217125": "https://hyland.atlassian.net/browse/ACS-8812", - "C217129": "https://hyland.atlassian.net/browse/ACS-8812", - "C217091": "https://hyland.atlassian.net/browse/ACS-8812", - "C280416": "https://hyland.atlassian.net/browse/ACS-8812", - "C290103": "https://hyland.atlassian.net/browse/ACS-8812", - "C280417": "https://hyland.atlassian.net/browse/ACS-8812", - "C217177": "https://hyland.atlassian.net/browse/ACS-8812", - "C280438": "https://hyland.atlassian.net/browse/ACS-8812", - "C290104": "https://hyland.atlassian.net/browse/ACS-8812", - "C217182": "https://hyland.atlassian.net/browse/ACS-8812", - "C217178": "https://hyland.atlassian.net/browse/ACS-8812", - "C217179": "https://hyland.atlassian.net/browse/ACS-8812", - "C217183": "https://hyland.atlassian.net/browse/ACS-8812", - "C280502": "https://hyland.atlassian.net/browse/ACS-8812", - "C217130": "https://hyland.atlassian.net/browse/ACS-8812", - "C217184": "https://hyland.atlassian.net/browse/ACS-8812" + "C280502": "https://hyland.atlassian.net/browse/ACS-8888" } diff --git a/e2e/playwright/edit-actions/exclude.tests.json b/e2e/playwright/edit-actions/exclude.tests.json index aa475482b0..0967ef424b 100644 --- a/e2e/playwright/edit-actions/exclude.tests.json +++ b/e2e/playwright/edit-actions/exclude.tests.json @@ -1,3 +1 @@ -{ - "XAT-5095": "https://hyland.atlassian.net/browse/ACS-8812" -} +{} diff --git a/e2e/playwright/folder-rules/exclude.tests.json b/e2e/playwright/folder-rules/exclude.tests.json index 495a42bc82..f8b191b0a7 100644 --- a/e2e/playwright/folder-rules/exclude.tests.json +++ b/e2e/playwright/folder-rules/exclude.tests.json @@ -1,3 +1,3 @@ { - "XAT-897": "https://hyland.atlassian.net/browse/ACS-5503" + "XAT-897": "https://hyland.atlassian.net/browse/ACS-5503" } diff --git a/e2e/playwright/list-views/exclude.tests.json b/e2e/playwright/list-views/exclude.tests.json index 91d27fbe25..337469aaa3 100644 --- a/e2e/playwright/list-views/exclude.tests.json +++ b/e2e/playwright/list-views/exclude.tests.json @@ -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" } diff --git a/e2e/playwright/list-views/src/tests/trash-admin.e2e.ts b/e2e/playwright/list-views/src/tests/trash-admin.e2e.ts index df048beec3..c1a0c3ba47 100755 --- a/e2e/playwright/list-views/src/tests/trash-admin.e2e.ts +++ b/e2e/playwright/list-views/src/tests/trash-admin.e2e.ts @@ -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 }) => { diff --git a/e2e/playwright/navigation/exclude.tests.json b/e2e/playwright/navigation/exclude.tests.json index 0ebca7ffa4..0967ef424b 100644 --- a/e2e/playwright/navigation/exclude.tests.json +++ b/e2e/playwright/navigation/exclude.tests.json @@ -1,3 +1 @@ -{ - "C280034": "https://hyland.atlassian.net/browse/ACS-8812" -} +{} diff --git a/e2e/playwright/search/exclude.tests.json b/e2e/playwright/search/exclude.tests.json index 1f79b2c29e..931f8c3508 100644 --- a/e2e/playwright/search/exclude.tests.json +++ b/e2e/playwright/search/exclude.tests.json @@ -1,7 +1,6 @@ { - "C290019": "https://hyland.atlassian.net/browse/ACS-6928", - "C290018": "https://hyland.atlassian.net/browse/ACS-6928", - "C699046-3": "https://hyland.atlassian.net/browse/ACS-7464", - "C699498": "https://hyland.atlassian.net/browse/ACS-7682", - "C280034": "https://hyland.atlassian.net/browse/ACS-8812" -} \ No newline at end of file + "C290019": "https://hyland.atlassian.net/browse/ACS-6928", + "C290018": "https://hyland.atlassian.net/browse/ACS-6928", + "C699046-3": "https://hyland.atlassian.net/browse/ACS-7464", + "C699498": "https://hyland.atlassian.net/browse/ACS-7682" +} diff --git a/e2e/playwright/upload-download-actions/exclude.tests.json b/e2e/playwright/upload-download-actions/exclude.tests.json index 1a984fdf0d..0967ef424b 100644 --- a/e2e/playwright/upload-download-actions/exclude.tests.json +++ b/e2e/playwright/upload-download-actions/exclude.tests.json @@ -1,3 +1 @@ -{ - "C297548": "https://hyland.atlassian.net/browse/ACS-8812" -} +{} diff --git a/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts b/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts index 05aa1d7b32..30fc3bfdd5 100644 --- a/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts +++ b/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts @@ -157,6 +157,7 @@ export class DataTableComponent extends BaseComponent { const sortColumn = await this.getSortedColumnHeaderText(); let sortOrder = await this.getSortingOrder(); if (sortColumn !== label) { + await this.getColumnHeaderByName(label).hover(); await this.getColumnHeaderByName(label).click({ force: true }); sortOrder = await this.getSortingOrder(); } diff --git a/projects/aca-playwright-shared/src/page-objects/components/manageRules/manage-rules-dialog.component.ts b/projects/aca-playwright-shared/src/page-objects/components/manageRules/manage-rules-dialog.component.ts index a9ba4e8849..5d34bde6d3 100644 --- a/projects/aca-playwright-shared/src/page-objects/components/manageRules/manage-rules-dialog.component.ts +++ b/projects/aca-playwright-shared/src/page-objects/components/manageRules/manage-rules-dialog.component.ts @@ -43,7 +43,7 @@ export class ManageRulesDialogComponent extends BaseComponent { public destinationFolderButton = this.getChild('[data-automation-id="card-textitem-clickable-icon-destination-folder"]'); public ruleInBackgroundCheckbox = this.getChild('[data-automation-id="rule-option-checkbox-asynchronous"]'); public ruleSubfoldersCheckbox = this.getChild('[data-automation-id="rule-option-checkbox-inheritable"]'); - public ruleDisableCheckbox = this.getChild('[data-automation-id="rule-option-checkbox-disabled"]'); + public ruleDisableCheckbox = this.getChild('[data-automation-id="rule-option-checkbox-disabled"] input'); public actionsEllipsisButtons = this.getChild('[data-automation-id="rule-action-list-action-menu"]'); public actionsEllipsisDelete = this.page.locator('[data-automation-id="rule-action-list-remove-action-button"]'); public conditionsEllipsisButtons = this.getChild('[data-automation-id="condition-actions-button"]'); diff --git a/projects/aca-playwright-shared/src/page-objects/components/sidenav.component.ts b/projects/aca-playwright-shared/src/page-objects/components/sidenav.component.ts index b7f39e2cc7..07909d9ffe 100644 --- a/projects/aca-playwright-shared/src/page-objects/components/sidenav.component.ts +++ b/projects/aca-playwright-shared/src/page-objects/components/sidenav.component.ts @@ -22,7 +22,7 @@ * from Hyland Software. If not, see . */ -import { SIDEBAR_LABELS } from '../../utils'; +import { SIDEBAR_LABELS, timeouts } from '../../utils'; import { BaseComponent } from './base.component'; import { Locator, Page } from '@playwright/test'; @@ -75,6 +75,7 @@ export class SidenavComponent extends BaseComponent { } async isSidenavExpanded(): Promise { + await this.page.waitForTimeout(timeouts.tiny); return this.expandedSidenav.isVisible(); }