platform/ws-tests/sanity/tests/model/admin.page.ts
Andrey Sobolev db0bbe31aa
Merge staging 12feb (#7993)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2025-02-12 23:18:50 +07:00

16 lines
339 B
TypeScript

import { PlatformURI } from '@hcengineering/tests-sanity'
import { type Page } from '@playwright/test'
export class AdminPage {
readonly page: Page
constructor (page: Page) {
this.page = page
}
// ACTIONS
async gotoAdmin (): Promise<void> {
await (await this.page.goto(`${PlatformURI}/login/admin`))?.finished()
}
}