classpath issue when running integration test

Dear CUBA team,
I’m learning how to write integration test case for my CUBA application. I’m using IntelliJ now. I have drafted a test case based on document and run it in my IDEA and I got bellow error:


[managed]' is a ChangeTracker but has no PropertyChangeListener

I think this is due to IDEA didn’t add enhanced-classes to the classpath while testing. Is there anything I can do to make it right?

Thanks for your time.

Hi,
This is a known issue. Prior to generating IDEA files you should assemble the project. That is the build/enhanced-classes folder must already exist when generating IDEA project files.
See the linked YouTrack issue for details.

:ticket: See the following issue in our bug tracker:

https://youtrack.cuba-platform.com/issue/PL-9337