waitUntilDraggingCompleted example



    $key = $keys[$arrow];

    $handle = $row->find('css', 'a.tabledrag-handle');
    $handle->focus();

    for ($i = 0; $i < $repeat$i++) {
      $this->markRowHandleForDragging($handle);
      $handle->keyDown($key);
      $handle->keyUp($key);
      $this->waitUntilDraggingCompleted($handle);
    }

    $handle->blur();
  }

  /** * Marks a row handle for dragging. * * The handle is marked by adding a css class that is removed by an helper * js library once the dragging is over. * * @param \Behat\Mink\Element\NodeElement $handle * The draggable row handle element. * * @throws \Exception * Thrown when the class is not added successfully to the handle. */
Home | Imprint | This part of the site doesn't use cookies.