Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function connectSlots(
const fromLoc = slotLocator(page, from.nodeId, from.index, false)
const toLoc = slotLocator(page, to.nodeId, to.index, true)
await expectVisibleAll(fromLoc, toLoc)
await fromLoc.dragTo(toLoc)
await fromLoc.dragTo(toLoc, { force: true })
await nextFrame()
}

Expand Down Expand Up @@ -183,7 +183,7 @@ test.describe('Vue Node Link Interaction', () => {
const inputSlot = slotLocator(comfyPage.page, clipNode.id, 0, true)
await expectVisibleAll(outputSlot, inputSlot)

await outputSlot.dragTo(inputSlot)
await outputSlot.dragTo(inputSlot, { force: true })
await comfyPage.nextFrame()

expect(await samplerOutput.getLinkCount()).toBe(0)
Expand All @@ -210,7 +210,7 @@ test.describe('Vue Node Link Interaction', () => {
const inputSlot = slotLocator(comfyPage.page, samplerNode.id, 3, true)
await expectVisibleAll(outputSlot, inputSlot)

await outputSlot.dragTo(inputSlot)
await outputSlot.dragTo(inputSlot, { force: true })
await comfyPage.nextFrame()

expect(await samplerOutput.getLinkCount()).toBe(0)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ defineExpose({
<template>
<div
:class="
cn('size-6 flex items-center justify-center group/slot', props.class)
cn(
'after:absolute after:inset-y-0 after:w-5/2 relative size-6 flex items-center justify-center group/slot',
props.class
)
"
>
<div
Expand Down