예제 #1
0
 /**
  * @param string $columnName
  * @param string $order
  *
  * @When /^I sort by "(.*)" value (ascending|descending)$/
  */
 public function iSortByValue($columnName, $order = 'ascending')
 {
     $this->datagrid->sortBy($columnName, $order);
     $loadlingMask = $this->datagrid->getElement('Grid container')->find('css', '.loading-mask .loading-mask');
     $this->spin(function () use($loadlingMask) {
         return !$loadlingMask->isVisible();
     }, '".loading-mask" is still visible');
 }
 /**
  * @param string $columnName
  * @param string $order
  *
  * @When /^I sort by "(.*)" value (ascending|descending)$/
  */
 public function iSortByValue($columnName, $order = 'ascending')
 {
     $this->wait(10000, sprintf('$("a:contains(\'%s\')").length > 0', ucfirst($columnName)));
     $this->datagrid->sortBy($columnName, $order);
     $this->wait();
 }
 /**
  * @param string $columnName
  * @param string $order
  *
  * @When /^I sort by "(.*)" value (ascending|descending)$/
  */
 public function iSortByValue($columnName, $order = 'ascending')
 {
     $this->datagrid->sortBy($columnName, $order);
     $this->wait();
 }