From b76a929ae5cbe5c4cc71997283a00f904ba2a2bd Mon Sep 17 00:00:00 2001 From: Mykyta Maliarchuk Date: Wed, 18 Dec 2024 12:24:40 +0100 Subject: [PATCH] fix tagsChipsXButton selector --- .../src/page-objects/components/adf-info-drawer.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts b/projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts index d757dded43..180cf2a9dd 100644 --- a/projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts +++ b/projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts @@ -73,7 +73,7 @@ export class AdfInfoDrawerComponent extends BaseComponent { public tagsInput = this.tagsCreator.locator('input'); public createTagButton = this.tagsCreator.locator('[role="button"]'); public tagsChips = this.tagsCreator.locator('mat-chip'); - public tagsChipsXButton = this.tagsChips.locator('button'); + public tagsChipsXButton = this.tagsChips.locator('.adf-dynamic-chip-list-delete-icon'); public tagsAccordionCancelButton = this.getChild('[data-automation-id="reset-tags-metadata"]'); public tagsAccordionConfirmButton = this.getChild('[data-automation-id="save-tags-metadata"]'); public categoriesAccordionCancelButton = this.getChild('[data-automation-id="reset-metadata"]');