feat(editor): Log view improvements (#16489)

This commit is contained in:
Suguru Inoue
2025-07-01 09:30:17 +02:00
committed by GitHub
parent c11e4bd0a8
commit 4124b96a00
23 changed files with 446 additions and 201 deletions

View File

@@ -194,6 +194,7 @@ describe('Logs', () => {
it('should show logs for a workflow with a node that waits for webhook', () => {
workflow.navigateToNewWorkflowPage();
workflow.pasteWorkflow(Workflow_wait_for_webhook);
workflow.getCanvas().click('topLeft'); // click canvas to deselect nodes
workflow.clickZoomToFit();
logs.openLogsPanel();
@@ -202,7 +203,6 @@ describe('Logs', () => {
workflow.getNodesWithSpinner().should('contain.text', 'Wait');
workflow.getWaitingNodes().should('contain.text', 'Wait');
logs.getLogEntries().should('have.length', 2);
logs.getLogEntries().eq(0).click(); // click selected row to deselect
logs.getLogEntries().eq(1).should('contain.text', 'Wait node');
logs.getLogEntries().eq(1).should('contain.text', 'Waiting');
@@ -224,6 +224,7 @@ describe('Logs', () => {
.getOverviewStatus()
.contains(/Success in [\d\.]+m?s/)
.should('exist');
logs.getLogEntries().eq(1).click(); // click selected row to deselect
logs.getLogEntries().should('have.length', 2);
logs.getLogEntries().eq(1).should('contain.text', 'Wait node');
logs.getLogEntries().eq(1).should('contain.text', 'Success');