platform/qms-tests/sanity/tests/model/left-side-menu-page.ts
2024-07-13 22:23:11 +07:00

16 lines
489 B
TypeScript

import { type Locator, type Page } from '@playwright/test'
export class LeftSideMenuPage {
readonly page: Page
readonly buttonPlanning: Locator
readonly buttonTeam: Locator
readonly buttonDocuments: Locator
constructor (page: Page) {
this.page = page
this.buttonPlanning = page.locator('button[id$="Planning"]')
this.buttonTeam = page.locator('button[id$="Team"]')
this.buttonDocuments = page.locator('button[id$="documents:string:DocumentApplication"]')
}
}