platform/qms-tests/sanity/tests/model/left-side-menu-page.ts
Alexander Platov 1329fb1d7a
Rebase (#6088)
Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
2024-07-25 22:16:08 +07:00

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"]')
}
}