tornadofx2 icon indicating copy to clipboard operation
tornadofx2 copied to clipboard

Running tests generates a screenshot file

Open aleksandar-stefanovic opened this issue 3 years ago • 1 comments

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.

aleksandar-stefanovic avatar Dec 22 '21 09:12 aleksandar-stefanovic

Looks like something someone did when playing with the API. It can probably be removed. Best to remove uncommented code where we can.

SKeeneCode avatar Dec 23 '21 15:12 SKeeneCode