The ChromeDriver used by the test bot does not support HTML5 Drag and Drop.
https://github.com/SeleniumHQ/selenium/issues/3269#issuecomment-406378953
Because of this the automated tests in layout_builder were failing when the jquery.ui.sortable library was replaced with a more modern alternative #3064049: Replace jQuery UI sortable with Sortable js.
The dragTo method in vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php fires custom javascript events and simulates a mouse drag, however this did not work with the Sortable.js replacement in testLayoutBuilderUi or testContentPreviewToggle
To work around this, some new methods for "simulating" a drag event were added in core/tests/Drupal/FunctionalJavascriptTests/SortableTestTrait.php and the layout builder callback implemented in core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderSortTrait.php.
When/if the ChromeDriver is updated to support HTML5 Drag and Drop events these traits should be deprecated and the two layout_builder tests should be reverted to using the dragTo method.
Comments
Comment #10
andypostUpcoming chrome should have fixed support of Drag'n'Drop https://bugs.chromium.org/p/chromium/issues/detail?id=850071#c25