1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-28 14:32:26 +00:00
bramw_baserow/e2e-tests/pages/templatePage.ts
2025-04-02 11:20:19 +02:00

15 lines
346 B
TypeScript

import { Page } from "@playwright/test";
import { BaserowPage } from "./baserowPage";
export class TemplatePage extends BaserowPage {
readonly templateSlug: String;
constructor(page: Page, slug: String) {
super(page);
this.templateSlug = slug;
}
getFullUrl() {
return `${this.baseUrl}/template/${this.templateSlug}`;
}
}