feat(testing): Added quick test, added isEmptyProject option to test setup to have project created with no sakila tables

This commit is contained in:
Muhammed Mustafa
2022-10-25 12:27:16 +05:30
parent dd2858c9bb
commit 6b0d0fcb04
23 changed files with 435 additions and 153 deletions

View File

@@ -16,6 +16,7 @@ export class ToolbarActionsPage extends BasePage {
return this.rootPage.locator(`[pw-data="toolbar-actions"]`);
}
// todo: use enum
async click(label: string) {
await this.get().locator(`span:has-text("${label}")`).click();
}