protected function SortableTestTrait::doLegacyDrag in Entity Embed 8
1 call to SortableTestTrait::doLegacyDrag()
- SortableTestTrait::sortableTo in tests/
src/ FunctionalJavascript/ SortableTestTrait.php - Simulates a drag on an element from one container to another.
File
- tests/
src/ FunctionalJavascript/ SortableTestTrait.php, line 121
Class
Namespace
Drupal\Tests\entity_embed\FunctionalJavascriptCode
protected function doLegacyDrag($item, $target) {
$assert_session = $this
->assertSession();
$target = $assert_session
->elementExists('css', $target);
$assert_session
->elementExists('css', $item)
->dragTo($target);
}