From 7a4333edfe8c8485fa9fe9d373f7eb4ec1f7700f Mon Sep 17 00:00:00 2001 From: Vito Albano Date: Mon, 18 Mar 2024 02:35:30 +0000 Subject: [PATCH] [affected:*][ci:force] Fixing e2e - fixing the last ones --- .../form-field/dropdown-widget.e2e.ts | 2 +- .../pages/group-cloud-component.page.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/process-services-cloud/form-field/dropdown-widget.e2e.ts b/e2e/process-services-cloud/form-field/dropdown-widget.e2e.ts index 107ecaee0b..37f38fd5c1 100644 --- a/e2e/process-services-cloud/form-field/dropdown-widget.e2e.ts +++ b/e2e/process-services-cloud/form-field/dropdown-widget.e2e.ts @@ -119,7 +119,7 @@ describe('Form Field Component - Dropdown Widget', () => { await expect(optionsSelected.toString().replace(/\s+/g, '')).toEqual([optionsToSelect].toString()); }); - it('[C309878] Should be able to select a dropdown option, save and complete the task form', async () => { + fit('[C309878] Should be able to select a dropdown option, save and complete the task form', async () => { const { name: dropdownOptionTaskName } = runningTasks['dropdownOptionsProcess']; await taskFilter.clickTaskFilter('my-tasks'); await taskList.getDataTable().waitTillContentLoaded(); diff --git a/lib/testing/src/lib/protractor/process-services-cloud/pages/group-cloud-component.page.ts b/lib/testing/src/lib/protractor/process-services-cloud/pages/group-cloud-component.page.ts index 01391f6f7a..3f6d68d356 100644 --- a/lib/testing/src/lib/protractor/process-services-cloud/pages/group-cloud-component.page.ts +++ b/lib/testing/src/lib/protractor/process-services-cloud/pages/group-cloud-component.page.ts @@ -60,7 +60,7 @@ export class GroupCloudComponentPage { async checkSelectedGroup(group: string): Promise { try { - await TestElement.byText(`${materialLocators.Chip.root}[data-automation-id*="adf-cloud-group-chip-"]`, group).waitVisible(); + await TestElement.byText(`${materialLocators.Chip.grid.row.root}[data-automation-id*="adf-cloud-group-chip-"]`, group).waitVisible(); return true; } catch (e) { return false; @@ -68,11 +68,11 @@ export class GroupCloudComponentPage { } async checkGroupNotSelected(group: string): Promise { - await BrowserVisibility.waitUntilElementIsNotVisible(element(by.cssContainingText(`${materialLocators.Chip.root}[data-automation-id*="adf-cloud-group-chip-"]`, group))); + await BrowserVisibility.waitUntilElementIsNotVisible(element(by.cssContainingText(`${materialLocators.Chip.grid.row.root}[data-automation-id*="adf-cloud-group-chip-"]`, group))); } async removeSelectedGroup(group: string): Promise { - const locator = $(`${materialLocators.Chip.root}[data-automation-id*="adf-cloud-group-chip-${group}"] ${materialLocators.Icon.root}`); + const locator = $(`${materialLocators.Chip.grid.row.root}[data-automation-id*="adf-cloud-group-chip-${group}"] ${materialLocators.Icon.root}`); await BrowserActions.click(locator); }