fix: add toBeVisible check before boundingBox in textarea MMB test

This commit is contained in:
Glary-Bot
2026-04-21 02:01:02 +00:00
parent 6d6bd8aced
commit 80dcb96032

View File

@@ -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')