mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-6457] Migrated unshare-file e2es to playwright (#3575)
* [ACS-6457] Migrated unshare-file e2es to playwright * Removed only * [ACS-6457] Removed protractor file * Updated timeout * Updated timeout * Removed clickClose method * Addressed review comments * Addressed review comments * Created a separate test suit for share-actions * Remove only
This commit is contained in:
@@ -315,4 +315,8 @@ export class DataTableComponent extends BaseComponent {
|
||||
async getRowsCount(): Promise<number> {
|
||||
return this.getRowLocator.count();
|
||||
}
|
||||
|
||||
async rightClickOnItem(itemName: string): Promise<void> {
|
||||
await this.getCellByColumnNameAndRowItem(itemName, 'Name').click({ button: 'right' });
|
||||
}
|
||||
}
|
||||
|
@@ -38,7 +38,8 @@ import {
|
||||
SidenavComponent,
|
||||
PaginationComponent,
|
||||
ErrorComponent,
|
||||
ShareDialogComponent
|
||||
ShareDialogComponent,
|
||||
AdfConfirmDialogComponent
|
||||
} from '../components';
|
||||
|
||||
export class PersonalFilesPage extends BasePage {
|
||||
@@ -62,6 +63,7 @@ export class PersonalFilesPage extends BasePage {
|
||||
public pagination = new PaginationComponent(this.page);
|
||||
public errorDialog = new ErrorComponent(this.page);
|
||||
public shareDialog= new ShareDialogComponent(this.page);
|
||||
public confirmDialog = new AdfConfirmDialogComponent(this.page);
|
||||
|
||||
async selectCreateFolder(): Promise<void> {
|
||||
await this.acaHeader.createButton.click();
|
||||
|
Reference in New Issue
Block a user