Playwright start

This commit is contained in:
2026-05-30 10:04:12 -04:00
parent 73f29cea08
commit 1f7a0819fc
108 changed files with 37445 additions and 62 deletions
+25
View File
@@ -0,0 +1,25 @@
class WebsiteSearchDialog {
constructor(website) {
this.website = website;
}
get searchBackground() { return this.website.find('searchBackground'); }
get searchInput() { return this.website.find('searchInput'); }
async closeDialog() {
await this.website.clickSearchBackground();
return this.website.navigationBar;
}
async search(text) {
await this.website.enterInput(this.searchInput, text);
return this;
}
async selectSearchEntity(label) {
await this.website.clickElement(this.website.findButtonWithLabel(label));
return this.website.databaseSinglePage;
}
}
module.exports = WebsiteSearchDialog;