From c479b29822489618743cba233e0b79ed41e7b7d8 Mon Sep 17 00:00:00 2001 From: Vito Sansevero Date: Wed, 28 Oct 2026 21:42:00 -0700 Subject: [PATCH] test(comfyui): the Inspect sender spec takes the viewer choosing a file opens (#448) The real-host spec chose a file and then pressed "Open file metadata"; with D155 the viewer is already open, so the press waited behind the modal until the test timed out in the merge queue (classic-start and nodes2-start). --- tests/comfyui/inspect-sender.spec.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/comfyui/inspect-sender.spec.mjs b/tests/comfyui/inspect-sender.spec.mjs index 2fcb8f10..4fede99c 100644 --- a/tests/comfyui/inspect-sender.spec.mjs +++ b/tests/comfyui/inspect-sender.spec.mjs @@ -36,11 +36,11 @@ async function watchHost(page,id,reset=true) { } const restore=page=>page.evaluate(async()=>{const {app}=await import('/scripts/app.js');Object.assign(app,window.inspectOriginals);}); -/** Chooses `file` on the Inspect page and opens the shared viewer on its local record. */ +/** Chooses `file` on the Inspect page, which opens the shared viewer on its local record (D155, #448). */ async function inspect(workspace,{file,positive,shown}) { await workspace.locator('#local-file').setInputFiles(file()); const open=workspace.locator('#workspace-main .heading-actions').getByRole('button',{name:'Open file metadata',exact:true}); - await expect(open).toHaveAttribute('aria-disabled','false');await open.click(); + await expect(open).toHaveAttribute('aria-disabled','false'); const rail=workspace.locator('dialog#viewer-dialog[open] #viewer-details'); await expect(rail.locator('.prompt-section.positive p.prompt-text')).toHaveText(positive); await expect(rail.locator('.prompt-section.negative p.prompt-text')).toHaveText(shown);