JetBrains / intellij-ui-test-robot

The library allows you to write and execute UI tests among IntelliJ IDEA. You can test your Plugin.

Home Page:https://jetbrains-platform.slack.com/archives/C026SVA9MMM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JListFixture collectItems returns truncated texts

victor-teles opened this issue · comments

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.