intellij-ui-test-robot
intellij-ui-test-robot copied to clipboard
JListFixture collectItems returns truncated texts
Hi! I'm using JListFixture to collect items from the quick-fix panel:
find<JListFixture>(byXpath("//div[@class='MyList']"), timeout)
But on the test, the list only contains truncated texts, I've printed the text to the console and unfortunately, it's not just a visual bug:
More details
Ran the tests on macOS Sonoma 14.1.2 (23B92)
kotlin
1.9.21
org.jetbrains.intellij
1.16.1
com.intellij.remoterobot:remote-robot
0.11.21
com.intellij.remoterobot:remote-fixtures
0.11.21
org.junit.jupiter:junit-jupiter-api
5.10.0
Seems sometimes it is not enough to use list.width
in JListTextCellReader
. We need to parameterize this value.