mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-03 22:05:06 +00:00
16 lines
339 B
TypeScript
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()
|
|
}
|
|
}
|