mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[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:
parent
e70ac05786
commit
2f507323ac
@ -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"
|
||||
}
|
||||
{}
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -1,3 +1 @@
|
||||
{
|
||||
"XAT-5095": "https://hyland.atlassian.net/browse/ACS-8812"
|
||||
}
|
||||
{}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"XAT-897": "https://hyland.atlassian.net/browse/ACS-5503"
|
||||
"XAT-897": "https://hyland.atlassian.net/browse/ACS-5503"
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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 }) => {
|
||||
|
@ -1,3 +1 @@
|
||||
{
|
||||
"C280034": "https://hyland.atlassian.net/browse/ACS-8812"
|
||||
}
|
||||
{}
|
||||
|
@ -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"
|
||||
}
|
||||
"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"
|
||||
}
|
||||
|
@ -1,3 +1 @@
|
||||
{
|
||||
"C297548": "https://hyland.atlassian.net/browse/ACS-8812"
|
||||
}
|
||||
{}
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -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"]');
|
||||
|
@ -22,7 +22,7 @@
|
||||
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
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<boolean> {
|
||||
await this.page.waitForTimeout(timeouts.tiny);
|
||||
return this.expandedSidenav.isVisible();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user