community templates (#691)

This commit is contained in:
Will Chen
2025-07-23 10:11:16 -07:00
committed by GitHub
parent 9edd0fa80f
commit e947eede7a
37 changed files with 544 additions and 135 deletions

View File

@@ -876,11 +876,11 @@ export class PageObject {
await this.page.getByRole("link", { name: "Hub" }).click();
}
private async selectTemplate(templateName: string) {
async selectTemplate(templateName: string) {
await this.page.getByRole("img", { name: templateName }).click();
}
async selectHubTemplate(templateName: "Next.js Template") {
async goToHubAndSelectTemplate(templateName: "Next.js Template") {
await this.goToHubTab();
await this.selectTemplate(templateName);
await this.goToAppsTab();