-
Notifications
You must be signed in to change notification settings - Fork 34
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
JToggleButtonFixture.doubleClick() sometimes fails #21
Comments
As I can see in the following implementation you don't have a delay time between mouse press and mouse release event. Possibly, the operating system requires such a delay in order to process double click properly? org.fest.swing.core.BasicRobot.click(Component, Point, MouseButton, int) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, I cannot give you any source code examples and this bug doesn't occur permanently.
We have several JToggleButtons in our dialog. Initially, they are all selected. In our FEST test case we execute a double click on their JToggleButtonFixtures. The first click seems to be executed, but sometimes the second click won't be applied by FEST.
I checked this via several System.outs added to item listener list of these buttons.
Two single click invocations do the job as well. But if you provide double click then this should work, too.
The text was updated successfully, but these errors were encountered: