diff --git a/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts b/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts index 314811967e..03ceff72b3 100644 --- a/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts +++ b/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts @@ -22,7 +22,7 @@ * from Hyland Software. If not, see . */ -import { Page, expect } from '@playwright/test'; +import { expect, Page } from '@playwright/test'; import { BaseComponent } from '../base.component'; export class MatMenuComponent extends BaseComponent { @@ -64,7 +64,7 @@ export class MatMenuComponent extends BaseComponent { const menus = await this.page.$$('.mat-mdc-menu-content .mat-mdc-menu-item'); const actualMoreActions: string[] = await Promise.all( menus.map(async (button) => { - const title = await (await button.$('.mdc-list-item__primary-text span')).innerText(); + const title = await (await button.$('.mat-mdc-menu-item-text span')).innerText(); return title || ''; }) );