TestFX icon indicating copy to clipboard operation
TestFX copied to clipboard

Scrolling not working in --headless mode, but it work in normal mode

Open EduMSDev opened this issue 7 years ago • 0 comments

When i launch one test where I use the vertical scrolling, the test always passes with GUI but it does not pass in --headless mode This is my code:

public int scrollInList(int quantity) {
  int count = 0;
   for(int i=0;i<(quantity/3);i++){
        getRobotInstance().scroll(VerticalDirection.DOWN);
        count++
    }
   return count;
  }

Expected Behavior Scroll is performed with GUI and with Headless mode

Actual Behavior Scroll is not performed in Headless mode, but it is performed with GUI

To get the fastest possible support, create a minimal example and upload it to GitHub.

Specifications

  • Java version: 8u76-b04
  • Monocle Version: 8u76-b04
  • Java version: 1.8
  • Testfx Version: 4.0.15-alpha
  • Platform: Windows 10

EduMSDev avatar May 13 '19 09:05 EduMSDev