Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running tests generates a screenshot file #44

Open
aleksandar-stefanovic opened this issue Dec 22, 2021 · 1 comment
Open

Running tests generates a screenshot file #44

aleksandar-stefanovic opened this issue Dec 22, 2021 · 1 comment

Comments

@aleksandar-stefanovic
Copy link

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.

@SKeeneCode
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants