Fix color and slider settings types to inherit attrs (#2483)

This commit is contained in:
bymyself
2025-02-09 18:18:09 -07:00
committed by GitHub
parent eeb1c34ada
commit 550a9d04c5
4 changed files with 99 additions and 1 deletions

View File

@@ -3,6 +3,10 @@ import { Page } from '@playwright/test'
export class SettingDialog {
constructor(public readonly page: Page) {}
get root() {
return this.page.locator('div.settings-container')
}
async open() {
const button = this.page.locator('button.comfy-settings-btn:visible')
await button.click()