JavaFXLibrary icon indicating copy to clipboard operation
JavaFXLibrary copied to clipboard

Drag and drop tests are failing in demo container

Open sampeson opened this issue 5 years ago • 0 comments

We have nice docker-compose environment where can test acceptance tests but it fails when running test.sh all for both local and remote tests. Works OK on native Windows and OSX. Reproducible always with 0.5.4 (master).

  1. docker-compose up -d robot-framework javafxcompile
  2. Open browser to <docker_daemon_ip>, e.g. http://localhost
  3. Open xterm from Start menu > System tools > xterm
  4. Execute tests: test.sh localor test.sh remote
  5. Check report from host system src/test/robotframework/results
Acceptance.DragRobotTest :: Tests to test javafxlibrary.keywords.DragRobot ...
==============================================================================
Drop by left                                                          | PASS |
------------------------------------------------------------------------------
Drop by up                                                            | PASS |
------------------------------------------------------------------------------
Drop by right                                                         | PASS |
------------------------------------------------------------------------------
Drop by down                                                          | PASS |
------------------------------------------------------------------------------
Drag                                                                  | PASS |
------------------------------------------------------------------------------
Drag, Drop                                                            | PASS |
------------------------------------------------------------------------------
Drag From Node (Node only)                                            | PASS |
------------------------------------------------------------------------------
Drag From Node (Node + MouseButton)                                   | PASS |
------------------------------------------------------------------------------
Drag From Point Query (PointQuery only)                               | FAIL |
Second window != X395 Y-138
------------------------------------------------------------------------------
Drag From Point Query (PointQuery + MouseButton)                      | FAIL |
Second window != X399 Y-140
------------------------------------------------------------------------------
Drag From Window (Window Only)                                        | PASS |
------------------------------------------------------------------------------
Drag From Window (Window + MouseButton)                               | PASS |
------------------------------------------------------------------------------
Drag From Scene (Scene Only)                                          | PASS |
------------------------------------------------------------------------------
Drag From Scene (Scene + MouseButton)                                 | PASS |
------------------------------------------------------------------------------
Drop To Node                                                          | FAIL |
Second window != X399 Y-140
------------------------------------------------------------------------------
Drop To Scene                                                         | PASS |
------------------------------------------------------------------------------
Drop To Query                                                         | FAIL |
Second window != X399 Y-140
------------------------------------------------------------------------------
Drop To                                                               | PASS |
------------------------------------------------------------------------------
Drop to coordinates                                                   | PASS |
------------------------------------------------------------------------------
Drag from coordinates, drop to window                                 | PASS |
------------------------------------------------------------------------------
Drag from point, Drop to point                                        | PASS |
------------------------------------------------------------------------------
Drag from bounds, Drop to bounds                                      | PASS |
------------------------------------------------------------------------------
Drag From + Drop To Using XPath Query                                 | FAIL |
Second window != X109 Y-41
------------------------------------------------------------------------------
Acceptance.DragRobotTest :: Tests to test javafxlibrary.keywords.D... | FAIL |
23 critical tests, 18 passed, 5 failed
23 tests total, 18 passed, 5 failed

sampeson avatar Jan 22 '20 13:01 sampeson