Add tests

This commit is contained in:
pythongosssss
2025-03-18 21:34:58 +00:00
parent fec5dbcf70
commit 0d61221ad3
4 changed files with 318 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
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')
}
}