Skip to content

Commit 5f14504

Browse files
committed
fix: wait for execution completion before opening NDV
1 parent 0837932 commit 5f14504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cypress/e2e/30-langchain.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ describe('Langchain Integration', () => {
372372
getNodes().should('have.length', 3);
373373
});
374374

375-
it('should render runItems for sub-nodes and allow switching between them', () => {
375+
it.only('should render runItems for sub-nodes and allow switching between them', () => {
376376
const workflowPage = new WorkflowPage();
377377

378378
cy.visit(workflowPage.url);
@@ -381,7 +381,7 @@ describe('Langchain Integration', () => {
381381
workflowPage.actions.deselectAll();
382382

383383
workflowPage.actions.executeNode('Populate VS');
384-
workflow.getNodesWithSpinner().should('not.exist');
384+
workflow.waitForSuccessBannerToAppear();
385385

386386
const assertInputOutputText = (text: string, assertion: 'exist' | 'not.exist') => {
387387
ndv.getOutputPanel().contains(text).should(assertion);

0 commit comments

Comments
 (0)