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

@@ -41,4 +41,9 @@ export class ProjectsPage extends BasePage {
return project;
}
async delete({title}: {title: string}) {
await this.get().locator(`[pw-data="delete-project-${title}"]`).click();
await this.rootPage.locator(`button:has-text("Yes")`).click();
}
}