For QTI test nodes a new config option must be implemented. The desired behavior is that a user can do a test multiple times, however as soon as he passed the test, the test can no longer be accessed. In that case the same behavior should appear as if the maximum allowed attempts is reached.
The new option is available with and without the configuration of a maximum allowed attempts. When the new config option and the max allowed attempts is both set, the first achieved stat will close the test (max attempts reached or test passed)
Feature should also be merged to OpenOLAT