Open pranasblk opened 7 years ago
Unfortunately no response yet. The documented solution works for me but I neither use gradle nor Windows 10.
What is the error in your case?
I can run the sam test from interactive Git bash console, but not from Jenkins slave on windows 10. It fails with:
org.assertj.swing.exception.WaitTimedOutError: Timed out waiting for component to be found using matcher "the title of the component" Matcher
There are no application windows displayed on the slave machine. I guess there are security restrictions in WIndows 10 to overtake UI control from service process ..
Did you try to make a screenshot of the failure? On Linux there is sometimes a difference of the UI features available.. e.g. the title bar could be missing. So just double check that at least the UI is correct.
Summary
I found instructions about setting Jenkins service to run as local user with allow access to interactive desktop, but it does not seem to work if AssertJ Swing invoked via gradle on WIndows 10 slave.
Example
./gradlew integTest
Has someone running Windows 10 Jenkins Slave and AssertJ Swing testing suite? Please share your experience.
Thank you!