mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACS-4892] [E2E] Created new tests for adding folder rules (#3895)
* [ACS-4892] [E2E] Created new tests for adding folder rules * [ACS-4892] excluded one test for now * [ACS-4892] [E2E] The rest of test cases automated * [ACS-4892] deleted the unused if enum * [ACS-4892] review fixes 1 * [ACS-4892] review fixes 2 * [ACS-4892] review fixes 3
This commit is contained in:
@@ -28,6 +28,7 @@ import { Page } from '@playwright/test';
|
||||
export class ToolbarComponent extends BaseComponent {
|
||||
private static rootElement = 'adf-toolbar';
|
||||
private createRuleButton = this.getChild('[data-automation-id="manage-rules-create-button"]');
|
||||
private linkRulesButton = this.getChild('[data-automation-id="manage-rules-link-button"]');
|
||||
|
||||
constructor(page: Page) {
|
||||
super(page, ToolbarComponent.rootElement);
|
||||
@@ -36,4 +37,8 @@ export class ToolbarComponent extends BaseComponent {
|
||||
async clickCreateRuleButton(): Promise<void> {
|
||||
await this.createRuleButton.click();
|
||||
}
|
||||
|
||||
async clickLinkRulesButton(): Promise<void> {
|
||||
await this.linkRulesButton.click();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user