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 95ff3ca2c..fce0b3cfa 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 @@ -71,7 +71,7 @@ export class AdfInfoDrawerComponent extends BaseComponent { public tagsAccordionPenButton = this.tagsAccordion.locator('[data-automation-id="showing-tag-input-button"]'); public categoriesAccordionPenButton = this.categoriesAccordion.locator('[data-automation-id="meta-data-categories-edit"]'); public tagsInput = this.tagsCreator.locator('input'); - public createTagButton = this.tagsCreator.locator('[role="button"]'); + public createTagButton = this.tagsCreator.locator('.adf-create-tag-label'); public tagsChips = this.tagsCreator.locator('mat-chip'); public tagsChipsXButton = this.tagsChips.locator('.adf-dynamic-chip-list-delete-icon'); public tagsAccordionCancelButton = this.getChild('[data-automation-id="reset-tags-metadata"]');