prevent hitting server

This commit is contained in:
pythongosssss
2026-04-08 05:50:03 -07:00
parent ab4a00d6dc
commit d986dcab3a

View File

@@ -169,6 +169,9 @@ test.describe('Output History', { tag: '@ui' }, () => {
await expect(comfyPage.appMode.cancelRunButton).toBeVisible()
await comfyPage.page.route('**/interrupt', (route) =>
route.fulfill({ status: 200 })
)
const interruptRequest = comfyPage.page.waitForRequest('**/interrupt')
await comfyPage.appMode.cancelRunButton.click()
await interruptRequest