File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,10 @@ export function getInputRunSelector() {
76
76
return getInputPanel ( ) . findChildByTestId ( 'run-selector' ) ;
77
77
}
78
78
79
+ export function getInputPanelItemsCount ( ) {
80
+ return getInputPanel ( ) . getByTestId ( 'ndv-items-count' ) ;
81
+ }
82
+
79
83
export function getOutputPanelDataContainer ( ) {
80
84
return getOutputPanel ( ) . findChildByTestId ( 'ndv-data-container' ) ;
81
85
}
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ import {
29
29
getRunDataInfoCallout ,
30
30
getOutputPanelTable ,
31
31
checkParameterCheckboxInputByName ,
32
+ getOutputPanelItemsCount ,
33
+ getInputPanelItemsCount ,
32
34
} from '../composables/ndv' ;
33
35
import * as workflow from '../composables/workflow' ;
34
36
import {
@@ -389,6 +391,10 @@ describe('Langchain Integration', () => {
389
391
} ;
390
392
391
393
workflowPage . actions . openNode ( 'Character Text Splitter' ) ;
394
+
395
+ // Wait for the input panel to switch to Debugging mode
396
+ ndv . getInputPanelItemsCount ( ) . should ( 'not.exist' ) ;
397
+
392
398
ndv . getOutputRunSelector ( ) . should ( 'exist' ) ;
393
399
ndv . getInputRunSelector ( ) . should ( 'exist' ) ;
394
400
ndv . getInputRunSelector ( ) . find ( 'input' ) . should ( 'include.value' , '3 of 3' ) ;
You can’t perform that action at this time.
0 commit comments