[ACS-5645]code modification

This commit is contained in:
Yasa-Nataliya
2023-10-09 20:20:57 +05:30
parent aea020a8cd
commit 50e4c5318e
7 changed files with 140 additions and 128 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ export class MetadataViewPage {
author = $(`[data-automation-id='card-textitem-value-properties.cm:author']`);
titleProperty = $(`span[data-automation-id='card-textitem-value-properties.cm:title'] span`);
editIcon = $(`button[data-automation-id='meta-data-card-toggle-edit']`);
editIconGeneral = $(`button[data-automation-id='meta-data-generalInfo-edit']`);
editIconGeneral = $(`button[data-automation-id='meta-data-general-info-edit']`);
informationButton = $(`button[data-automation-id='meta-data-card-toggle-expand']`);
informationSpan = $(`span[data-automation-id='meta-data-card-toggle-expand-label']`);
informationIcon = $(`span[data-automation-id='meta-data-card-toggle-expand-label'] ~ mat-icon`);
@@ -119,7 +119,7 @@ export class MetadataViewPage {
}
async editIconGeneralClick(): Promise<void> {
await BrowserActions.clickExecuteScript('button[data-automation-id="meta-data-generalInfo-edit"]');
await BrowserActions.click(this.editIconGeneral);
}
async informationButtonIsDisplayed(): Promise<void> {