Javatest 4.2 (reproducible with jt4.1.4 as well)
- Start the Harness. Open any testsuite. Create Working directory. Close Harness.
- Now start it with CLI options '-ts -preferred <path-to-ts>'. It should start and restore last used working directory. That's OK. Close Harness.
- Now start it with '-ts -preferred <path-to-ts> -newDesktop'. It will start and restore last used WD.
That's most probably not OK. I think that '-newDesktop' option should have priority. Or such combination of CLI options should be prohibited and at least Harness should issue a warning log message that one of options was skipped.
- Start the Harness. Open any testsuite. Create Working directory. Close Harness.
- Now start it with CLI options '-ts -preferred <path-to-ts>'. It should start and restore last used working directory. That's OK. Close Harness.
- Now start it with '-ts -preferred <path-to-ts> -newDesktop'. It will start and restore last used WD.
That's most probably not OK. I think that '-newDesktop' option should have priority. Or such combination of CLI options should be prohibited and at least Harness should issue a warning log message that one of options was skipped.