Files
ComfyUI_frontend/browser_tests/tests
bymyself 009ea1c054 fix(test): use dispatchEvent and disable subscription extension
oxlint forbids click({ force: true }). Use dispatchEvent('click')
instead to bypass the PrimeVue Dialog backdrop that briefly intercepts
pointer events between the popover button click and the dialog opening.
The button is already known-visible from openUserPopover, so a
synthetic click is safe here.

Also disable the Comfy.Cloud.Subscription extension via setupSettings
so its requireActiveSubscription watcher does not auto-open the
subscription dialog on app boot. The dialog mask would otherwise
intercept pointer events on every topbar button these tests interact
with. Dialog dismissal is kept as defense-in-depth in case a different
code path surfaces it.
2026-05-01 23:02:24 -07:00
..