[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

@@ -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();
}

View File

@@ -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"]');

View File

@@ -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();
}