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

GE-tests #1219

Closed
RyanMcilnay opened this issue May 2, 2018 · 1 comment · Fixed by #2002
Closed

GE-tests #1219

RyanMcilnay opened this issue May 2, 2018 · 1 comment · Fixed by #2002
Assignees
Labels
Milestone

Comments

@RyanMcilnay
Copy link
Contributor

@RyanMcilnay RyanMcilnay commented May 2, 2018

Graphical Editor Tests

Graphical editor tests run locally on linux and windows, but still have issues when running on the build server.

When running with maven add profile "ge-tests" to enable tests. Use -Dtest=ExampleTest to run single test.

Issue Notes:

  • Linux window focus behavior and window manager.
  • Must mouse move, press, release when simulating mouse.
  • Cannot rename elements that have the same location consecutively.
@philip-alldredge
Copy link
Collaborator

@philip-alldredge philip-alldredge commented May 7, 2019

Tests can fail on windows due to coordinates being incorrect. One cause is that the AWT robot takes into account the coordinate system of the display and HiDPI. How the coordinate is determined is not. A workaround until we decide the best way to handle is to display UI scaling by passing the following to the JVM.
-Dsun.java2d.uiScale=1.0

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

Successfully merging a pull request may close this issue.

3 participants