This works great, but if one is debugging locally and wants to see the GUI tests actually run, this line needs to be commented out. It's super easy to forget to uncomment it again before committing. It would be great if we could modify the process so that the pom.xml didn't need modification and it could instead be handled via Run Configurations or whatever.
I tried this to some degree in IntelliJ, and didn't succeed; but I didn't hit the issue head on. This seems like it should be fixable.
Right now, for running headless TestFX tests (which is fabulous), there's a line in pom.xml that looks like
<argLine> -Djava.awt.headless -Dtestfx.robot=glass -Dtestfx.headless=true -Dprism.order=sw -Dprism.text=t2k -Dtestfx.setup.timeout=20000</argLine>
This works great, but if one is debugging locally and wants to see the GUI tests actually run, this line needs to be commented out. It's super easy to forget to uncomment it again before committing. It would be great if we could modify the process so that the pom.xml didn't need modification and it could instead be handled via Run Configurations or whatever.
I tried this to some degree in IntelliJ, and didn't succeed; but I didn't hit the issue head on. This seems like it should be fixable.