Skip to main content

DraggableViews

DrevOps\BehatSteps\Steps\Drupal\DraggableviewsTrait - Source, Example, Helpers

Order items in the Drupal Draggable Views.

Prerequisites​

PrerequisiteCapability
A backend in the scenario's list provides "DraggableviewsCapabilityInterface"DraggableviewsCapabilityInterface
The "draggableviews" module from the "drupal/draggableviews" package is enabledModuleCapabilityInterface

Steps​

@When the draggable views items of the view :view_id and the display :view_display_id for the :content_type content are saved in the following order:

Save the order of the Draggable Views items

When the draggable views items of the view "draggableviews_demo" and the display "page_1" for the "article" content are saved in the following order:
| First Article |
| Second Article |
| Third Article |