mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-4887] e2e added test step for action tests (#3208)
* [ACS-4887] e2e added test step for action tests * e2e test remove commented code * missing spell check added
This commit is contained in:
@@ -31,6 +31,7 @@ export class ManageRulesDialogComponent extends BaseComponent {
|
||||
public createRuleButton = this.getChild('[data-automation-id="edit-rule-dialog-submit"]');
|
||||
private ruleNameInputLocator = this.getChild('[id="rule-details-name-input"]');
|
||||
public addConditionButton = this.getChild('[data-automation-id="add-condition-button"]');
|
||||
public addConditionGroupButton = this.getChild('[data-automation-id="add-group-button"]');
|
||||
public fieldDropDown = this.getChild('[data-automation-id="field-select"]');
|
||||
public comparatorDropDown = this.getChild('[data-automation-id="comparator-select"]');
|
||||
private valueField = this.getChild('[data-automation-id="value-input"]');
|
||||
@@ -43,7 +44,7 @@ export class ManageRulesDialogComponent extends BaseComponent {
|
||||
await this.ruleNameInputLocator.type(ruleName, { delay: 50 });
|
||||
}
|
||||
|
||||
async typeConditionValue(ruleName: string): Promise<void> {
|
||||
await this.valueField.type(ruleName, { delay: 50 });
|
||||
async typeConditionValue(ruleName: string, index: number): Promise<void> {
|
||||
await this.valueField.nth(index).type(ruleName, { delay: 50 });
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user