ACS-3545 a 11 y aca metadata sidebar (#7923)

* ACS-3545 Fixed accessibility issues for metadata sidebar
This commit is contained in:
AleksanderSklorz
2022-11-02 21:40:14 +01:00
committed by GitHub
parent 3dde18fbd2
commit 13fe6fb07a
16 changed files with 56 additions and 41 deletions

View File

@@ -26,13 +26,13 @@ export class CardDateItemPage {
dateTimePickerPage: DateTimePickerPage;
datePickerPage = new DatePickerPage();
labelLocator = 'div[data-automation-id*="card-dateitem-label"]';
labelLocator = 'label[data-automation-id*="card-dateitem-label"]';
valueLocator = 'span[data-automation-id*="card-date"]';
dateTimePicker = $$('.mat-datetimepicker-toggle').first();
saveButton = 'button[data-automation-id*="card-dateitem-update"]';
constructor(label: string = 'minDate') {
this.rootElement = element(by.xpath(`//div[contains(@data-automation-id, "label-${label}")]/ancestor::adf-card-view-dateitem`));
this.rootElement = element(by.xpath(`//label[contains(@data-automation-id, "label-${label}")]/ancestor::adf-card-view-dateitem`));
this.dateTimePickerPage = new DateTimePickerPage(this.rootElement);
}

View File

@@ -70,6 +70,7 @@ export class StartProcessPage {
try {
await this.clickProcessDropdownArrow();
await this.selectProcessOption(name);
await browser.sleep(500);
} catch (error) {
if (retry < 3) {
retry++;