mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-27 08:25:50 +00:00
fix: add toBeVisible check before boundingBox in textarea MMB test
This commit is contained in:
@@ -60,6 +60,7 @@ test.describe('Vue Multiline String Widget', { tag: '@vue-nodes' }, () => {
|
||||
{ tag: '@screenshot' },
|
||||
async ({ comfyPage }) => {
|
||||
const textarea = getFirstMultilineStringWidget(comfyPage)
|
||||
await expect(textarea).toBeVisible()
|
||||
const box = await textarea.boundingBox()
|
||||
if (!box) throw new Error('Textarea bounding box not found')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user