Intellij Idea says Undefined step reference for all the steps in cucumber file

已回答

I’m using Cucumber with Python to write tests, along with the Python and Gherkin plugins in IntelliJ IDEA Ultimate. After resetting my Mac due to an organizational issue, this problem started occurring. Everything was working fine before the reset.

1

Hi Nishant Sanghai, thanks for your question.
Please try the following steps:

  1. Update the IntelliJ IDEA to the latest version 2025.3.1;
  2. Check updates and update all plugins. Make sure that you have installed (and updated) and enabled all required plugins: Cucumber, Gherkin, Python and PythonDAP plugins;
  3. Perform File | Invalidate Caches → Invalidate and Restart;
  4. Check this issue again.

If after performing these actions the problem persists, please provide a sample project and IDE logs collected via Help | Collect Logs and Diagnostic Data. Thank you!
 

0

Hi Aleksandr Nagovitsyn , I followed all the steps that you provided still the steps are not recognized. I dont see an option to upload zip files. How do I share the logs and sample project.

 

0

Hi Nishant Sanghai, Thanks for your feedback.

Please collect logs via Help | Collect Logs and Diagnostic Data and attach it with a sample project to our server https://uploads.jetbrains.com/ and provide us with the Upload ID. The uploaded data will be accessible only to our team and will be used solely for investigating this issue. 
Thank you!
 

0

Hi Aleksandr Nagovitsyn , The Upload ID is Upload id: 2025_12_22_nVtMqfHu6oyd1fQmNn8sN3 (file: Archive.zip)

0

Hi Nishant,

I've tried to reproduce the issue locally with the provided project in both IDEA and PyCharm but no luck so far. 

We have a second report on the same issue, let's move on YT to consolidate our discussion in one place. 

Also, please try disabling Copilot plugin because there are behave-related errors, if it doesn't help - please do File | Manage IDE settings | Export settings and upload the result archive in the YT issue so we can check it with my colleague. 

0

We also can see this problem. Any ETA for the fix? 

0

请先登录再写评论。