fix: use subgraph breadcrumb helper in promotion test

Amp-Thread-ID: https://ampcode.com/threads/T-019d024b-467d-733e-ac30-d9146105ec9a
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Alexander Brown
2026-03-18 12:37:36 -07:00
parent d39782f11a
commit b19699770c

View File

@@ -785,7 +785,7 @@ test.describe(
await comfyPage.nextFrame()
// Navigate back via breadcrumb
await exitSubgraphToParent(comfyPage)
await comfyPage.subgraph.exitViaBreadcrumb()
// Widget count should be reduced
const finalWidgetCount = await getPromotedWidgetCount(comfyPage, '11')