@alfresco/aca-playwright-shared 7.3.0-20818884241 → 7.3.0-20822156743
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1346,16 +1346,16 @@ class DataTableComponent extends BaseComponent {
|
|
|
1346
1346
|
*/
|
|
1347
1347
|
class ToolbarComponent extends BaseComponent {
|
|
1348
1348
|
static rootElement = 'adf-toolbar';
|
|
1349
|
-
createRuleButton = this.getChild('[data-automation-id="manage-rules-create-button"]');
|
|
1350
|
-
linkRulesButton = this.getChild('[data-automation-id="manage-rules-link-button"]');
|
|
1351
1349
|
constructor(page) {
|
|
1352
1350
|
super(page, ToolbarComponent.rootElement);
|
|
1353
1351
|
}
|
|
1354
1352
|
async clickCreateRuleButton() {
|
|
1355
|
-
|
|
1353
|
+
const button = this.page.locator('[data-automation-id="manage-rules-create-button"]');
|
|
1354
|
+
await button.click();
|
|
1356
1355
|
}
|
|
1357
1356
|
async clickLinkRulesButton() {
|
|
1358
|
-
|
|
1357
|
+
const button = this.page.locator('[data-automation-id="manage-rules-link-button"]');
|
|
1358
|
+
await button.click();
|
|
1359
1359
|
}
|
|
1360
1360
|
}
|
|
1361
1361
|
|