mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-23 08:14:06 +00:00
18 lines
366 B
TypeScript
18 lines
366 B
TypeScript
import { Page } from '@playwright/test'
|
|
|
|
export class ImportModelDialog {
|
|
constructor(public readonly page: Page) {}
|
|
|
|
get rootEl() {
|
|
return this.page.locator('div[aria-labelledby="global-import-model"]')
|
|
}
|
|
|
|
get modelTypeInput() {
|
|
return this.rootEl.locator('#model-type')
|
|
}
|
|
|
|
get importButton() {
|
|
return this.rootEl.getByLabel('Import')
|
|
}
|
|
}
|