FEST

JTableHeaderFixture.clickColumn() may click outside of JTable's JViewport

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: FEST-Swing 1.2a2
  • Fix Version/s: FEST-Swing 1.2a3
  • Component/s: Swing
  • Labels:
    None
  • Number of attachments :
    1

Description

From Andriy Tsykholyas:

JTableHeaderFixture.clickColumn(int index) does not ensure the target column is appears on the screen. So, if we have a wide table (e.g. with many columns) which is contained inside a JScrollPane and the target column is outside of its JViewport, than JTableHeaderFixture.clickColumn() would perform click outside of the JViewport. In fact in my case the click is done outside of the window

Is this a bug or intended behavior? Similar method JTableFixture.click(TableCell cell, MouseButton button) actually ensures the target cell appears on the screen before
performing a click (scrolling JScrollPane if necessary). So, I assume this is a bug, but I'm not sure

Activity

Hide
Andriy Tsykholyas added a comment -

I'm attaching TestNG test case for this issue.

Show
Andriy Tsykholyas added a comment - I'm attaching TestNG test case for this issue.

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: