assertj / assertj/assertj-swing

Global slowness on CI, simple test like clicking on a component taking from 20s to minutes

Open
#276 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
121
Forks
52
PR merge metrics
No merged PRs in 30d

Description

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 :
```java
@Test
void shouldFindInjectionPreferences() {
AppUiTest.window.checkBox("checkboxIsParsingForm").click();
AppUiTest.window.checkBox("checkboxIsParsingForm").click();
}
```
All the tests are instant on local ([source code](https://github.com/ron190/jsql-injection/blob/master/view/src/test/java/com/test/assertj/AppUiTest.java), [GH actions logs](https://github.com/ron190/jsql-injection/actions/runs/12897417664/job/35962486935)), 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 ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.