mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-24 12:06:57 +03:00
16 lines
489 B
TypeScript
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"]')
|
|
}
|
|
}
|