[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:
Kritagya Jaiswal
2023-12-28 11:54:32 +05:30
committed by GitHub
parent 90c69b207c
commit 6b18b631ae
12 changed files with 341 additions and 269 deletions

View File

@@ -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' });
}
}

View File

@@ -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();