mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-28 14:32:26 +00:00
15 lines
346 B
TypeScript
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}`;
|
|
}
|
|
}
|