assertj-swing
assertj-swing copied to clipboard
Global slowness on CI, simple test like clicking on a component taking from 20s to minutes
Hello, I have a moderately dense GUI, I'm looking for specific reasons why simple command lasts at least 20s on GitHub Actions, some taking minutes for one click :
@Test
void shouldFindInjectionPreferences() {
AppUiTest.window.checkBox("checkboxIsParsingForm").click();
AppUiTest.window.checkBox("checkboxIsParsingForm").click();
}
All the tests are instant on local (source code, GH actions logs), the entire test suite in this file lasts 59s in local, and it lasts 2h16m on GH actions.
Is there a problem about lookup by name ? about EDT ?
Is there any ways to speedup one click in some ways ?
Test suite takes 2h16m on jdk11 and it takes 7mn on jdk21 to be more precise.
I wonder if any jdk11 component is the root cause to such a delay, or in opposition if any jdk21 improvment explains such gain of speed.