mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-6235] Migrated E2Es in favorites.ts file to Playwright (#3539)
* [ACS-6235] migrated e2es to playwright * [ACS-6235] migrated e2es to playwright * [ACS-6235] addressed review comments
This commit is contained in:
committed by
GitHub
parent
fef55a3f73
commit
509ab55508
@@ -24,7 +24,7 @@
|
||||
|
||||
import { Page } from '@playwright/test';
|
||||
import { BasePage } from './base.page';
|
||||
import { DataTableComponent, MatMenuComponent, ViewerComponent, SidenavComponent } from '../components';
|
||||
import { DataTableComponent, MatMenuComponent, ViewerComponent, SidenavComponent, PaginationComponent } from '../components';
|
||||
import { AcaHeader } from '../components/aca-header.component';
|
||||
import { AdfFolderDialogComponent, ViewerOverlayDialogComponent } from '../components/dialogs';
|
||||
|
||||
@@ -42,4 +42,9 @@ export class FavoritesPage extends BasePage {
|
||||
public viewer = new ViewerComponent(this.page);
|
||||
public viewerDialog = new ViewerOverlayDialogComponent(this.page);
|
||||
public sidenav = new SidenavComponent(this.page);
|
||||
public pagination = new PaginationComponent(this.page);
|
||||
|
||||
async waitForPageLoad() {
|
||||
await this.page.waitForURL(`**/${FavoritesPage.pageUrl}`);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user