[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:
SheenaMalhotra182
2023-11-28 15:10:14 +05:30
committed by GitHub
parent fef55a3f73
commit 509ab55508
7 changed files with 133 additions and 141 deletions

View File

@@ -162,4 +162,8 @@ export class PaginationComponent extends BaseComponent {
throw new Error(`Click nth menu item catch: ${e}`);
}
}
async closeMenu(): Promise<void> {
await this.page.keyboard.press('Escape');
}
}