mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-24 12:06:57 +03:00
1329fb1d7a
Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
16 lines
491 B
TypeScript
16 lines
491 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('[id$="app-documents\\:string\\:DocumentApplication"]')
|
|
}
|
|
}
|