mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-08 09:00:05 +00:00
fix(e2e): use correct V2 draft storage key prefix
Amp-Thread-ID: https://ampcode.com/threads/T-019c17aa-1890-762e-ab68-28cc797456b4
This commit is contained in:
@@ -708,7 +708,7 @@ test.describe('Load workflow', { tag: '@screenshot' }, () => {
|
||||
() => {
|
||||
for (let i = 0; i < window.localStorage.length; i++) {
|
||||
const key = window.localStorage.key(i)
|
||||
if (key?.startsWith('Comfy.Draft:')) {
|
||||
if (key?.startsWith('Comfy.Workflow.Draft.v2:')) {
|
||||
const value = window.localStorage.getItem(key)
|
||||
// Check that the draft contains collapsed node flags
|
||||
if (value && value.includes('"flags":')) {
|
||||
|
||||
Reference in New Issue
Block a user