Skip to content

Commit

Permalink
[ACS-8739] Fix e2e tests (#4106)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikiwanekhyland authored and VitoAlbano committed Oct 8, 2024
1 parent d78cca7 commit 6e16ea6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { Page, expect } from '@playwright/test';
import { expect, Page } from '@playwright/test';
import { BaseComponent } from '../base.component';

export class MatMenuComponent extends BaseComponent {
Expand Down Expand Up @@ -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 || '';
})
);
Expand Down

0 comments on commit 6e16ea6

Please sign in to comment.