Some integration-test scenarios are impure
Is this a regression?
No
Description
When running all integration-test scenarios together, as is done in CI, everything works as expected. However, when debugging locally and isolating specific test scenarios for faster iteration, I've noticed that some scenarios leak data between each other.
This may be intentional, but it increases cognitive load when trying to debug tests in isolation. Ideally, each test scenario should be as independent as possible to minimize this complexity.
In PR #1616(https://github.com/hyperledger-identus/cloud-agent/pull/1616), extra steps were added to present_proof.feature to ensure cases do not reuse data or state from other scenarios, but the underlying issue of impurity between scenarios remains and should be addressed for better local testing and debugging.
Please provide the exception or error you saw
NA
Please provide the environment you discovered this bug in
NA
Anything else?
No response
I would recommend to refactor as we go, for now, it is working as a complete package. But if anyone find other cases like this, don't be afraid to fix it.