Editor preview shows wrong data (wrong node's output)

Describe the problem/error/question

Editor preview doesn’t display the correct data.
It displays the data from the last node, instead of the node being targeted, when using something like: {{ $('Prepare data: Create Activity Note').item.json }}.

Please share your workflow

Information on your n8n setup

  • n8n version: 1.53.2
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Unsure
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker (Cloudron)
  • Operating system: Ubuntu 22.04

hello @Vadorequest

Have you tried to use Execute workflow button instead of using the test step one? It sometimes gets buggy when there is a pinned data just before the node you are testing