[AAE-13069]- Input fields label improvements (#8387)

* AAE-13069: Removing extra div inside mat label

* AAE-13069: Removing font size css rule and applying right class to the mat label

* AAE-13069: Refactoring text item component based on Angular Material

* AAE-13069: Updated unit test

* AAE-13069: Fixed lint issues

* AAE-13069: Fixed styles

* AAE-13069: Updated e2e tests

* AAE-13069: Updated e2e tests
This commit is contained in:
Ehsan Rezaei
2023-03-20 20:25:13 +01:00
committed by GitHub
parent cf52683771
commit 5ab6dc2e9d
7 changed files with 49 additions and 89 deletions

View File

@@ -213,7 +213,7 @@ export class MetadataViewPage {
}
async checkPropertyIsVisible(propertyName: string, type: string): Promise<void> {
const property = $('div[data-automation-id="card-' + type + '-label-' + propertyName + '"]');
const property = $('[data-automation-id="card-' + type + '-label-' + propertyName + '"]');
await BrowserVisibility.waitUntilElementIsVisible(property);
}