You might consider extracting all public configuration from the application.properties file in devenv into a new application-common.properties file. This new file should be located in a module that both devenv and network have introduced.
At this point you can introduce it like this
@TestPropertySource({“classpath: application-common.properties”})
Maybe
@TestPropertySource({“classpath*:application-common.properties”})
I'm sorry I haven't used it this way. If you consider a configuration center (e.g. nacos), it might be easier.