File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
browser_tests/tests/vueNodes/interactions/node Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,23 @@ test.describe('Vue Node Selection', () => {
5050 } )
5151 }
5252
53+ test ( 'should select all nodes with ctrl+a' , async ( { comfyPage } ) => {
54+ const initialCount = await comfyPage . vueNodes . getNodeCount ( )
55+ expect ( initialCount ) . toBeGreaterThan ( 0 )
56+
57+ await comfyPage . canvas . press ( 'Control+a' )
58+
59+ const selectedCount = await comfyPage . vueNodes . getSelectedNodeCount ( )
60+ expect ( selectedCount ) . toBe ( initialCount )
61+ } )
62+
5363 test ( 'should select pinned node without dragging' , async ( { comfyPage } ) => {
5464 const PIN_HOTKEY = 'p'
5565 const PIN_INDICATOR = '[data-testid="node-pin-indicator"]'
5666
57- // Select a node by clicking its title
5867 const checkpointNodeHeader = comfyPage . page . getByText ( 'Load Checkpoint' )
5968 await checkpointNodeHeader . click ( )
6069
61- // Pin it using the hotkey (as a user would)
6270 await comfyPage . page . keyboard . press ( PIN_HOTKEY )
6371
6472 const checkpointNode = comfyPage . vueNodes . getNodeByTitle ( 'Load Checkpoint' )
You can’t perform that action at this time.
0 commit comments