import { Page } from '@playwright/test'; import { BasePage } from './BasePage'; import { getPageConfig } from '../config/test-pages'; import { TestConfig } from '../types'; export class AboutPage extends BasePage { constructor(page: Page, config?: TestConfig) { const pageConfig = getPageConfig('about'); super(page, pageConfig.url, config); } async getPageTitle(): Promise { return await this.getText('h1'); } async getContent(): Promise { return await this.getText('.about-content'); } }