mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(editor): Rollout improved log view (#15202)
This commit is contained in:
@@ -12,13 +12,12 @@ import {
|
||||
EDIT_FIELDS_SET_NODE_NAME,
|
||||
CHAT_TRIGGER_NODE_DISPLAY_NAME,
|
||||
} from './../constants';
|
||||
import * as logs from '../composables/logs';
|
||||
import {
|
||||
closeManualChatModal,
|
||||
getManualChatInput,
|
||||
getManualChatMessages,
|
||||
getManualChatModal,
|
||||
getManualChatModalLogs,
|
||||
getManualChatModalLogsEntries,
|
||||
getManualChatModalLogsTree,
|
||||
sendManualChatMessage,
|
||||
} from '../composables/modals/chat-modal';
|
||||
import { setCredentialValues } from '../composables/modals/credential-modal';
|
||||
@@ -308,12 +307,14 @@ describe('Langchain Integration', () => {
|
||||
messages.should('contain', inputMessage);
|
||||
messages.should('contain', outputMessage);
|
||||
|
||||
getManualChatModalLogsTree().should('be.visible');
|
||||
getManualChatModalLogsEntries().should('have.length', 1);
|
||||
logs.getOverviewPanel().should('be.visible');
|
||||
logs.getLogEntries().should('have.length', 2);
|
||||
logs.getLogEntries().eq(0).should('have.text', 'AI Agent');
|
||||
logs.getLogEntries().eq(1).should('have.text', 'OpenAI Chat Model');
|
||||
|
||||
closeManualChatModal();
|
||||
getManualChatModalLogs().should('not.exist');
|
||||
getManualChatModal().should('not.exist');
|
||||
logs.getOverviewPanelBody().should('not.exist');
|
||||
getManualChatInput().should('not.exist');
|
||||
});
|
||||
|
||||
it('should auto-add chat trigger and basic LLM chain when adding LLM node', () => {
|
||||
|
||||
Reference in New Issue
Block a user