【发布时间】:2020-07-15 15:08:08
【问题描述】:
我正在运行一些 TestFx 测试用例,这些测试用例在我的本地无头模式和有头模式下运行良好,但由于某种原因,当相同的测试在 jenkins 中以无头模式运行时,我在单击某些按钮的行上收到以下消息.
java.lang.RuntimeException: org.testfx.service.locator.BoundsLocatorException: 边界在场景中不可见
有人知道为什么会这样吗?
这些是我的无头属性....
testfx.robot", "glass"
"testfx.headless", "true"
prism.order", "sw"
prism.text", "t2k"
headless.geometry", "1600x1200-32
【问题讨论】:
标签: javafx headless bounds testfx