fix: pass explicit warning patterns in subgraphNestedConfigureOrder test

Amp-Thread-ID: https://ampcode.com/threads/T-019d31ce-8eef-70ae-beae-b94970f4d959
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Alexander Brown
2026-03-27 17:20:07 -07:00
parent 52af5f292f
commit 8853280bda

View File

@@ -9,7 +9,10 @@ test.describe('Nested subgraph configure order', { tag: ['@subgraph'] }, () => {
test('Loads without "No link found" or "Failed to resolve legacy -1" console warnings', async ({
comfyPage
}) => {
const { warnings } = SubgraphHelper.collectConsoleWarnings(comfyPage.page)
const { warnings } = SubgraphHelper.collectConsoleWarnings(comfyPage.page, [
'No link found',
'Failed to resolve legacy -1'
])
await comfyPage.workflow.loadWorkflow(WORKFLOW)