tornadofx2
tornadofx2 copied to clipboard
Running tests generates a screenshot file
When running TableViewTest.kt
, a screenshot of a table is saved into the project:
robot.robotContext().captureSupport.saveImage(robot.capture(primaryStage.scene.root).image, Paths.get("example-table.png"))
Just wanted to check whether this is intentional (although I see no purpose for it), and if it's not, we should probably delete it (or at least comment it out, in case that screenshot is needed in the future). If it is intentional, maybe we should add a gitignore rule for it.
Looks like something someone did when playing with the API. It can probably be removed. Best to remove uncommented code where we can.