예제 #1
0
 /**
  * @param string $value
  * @return $this
  */
 public function search($value)
 {
     if (!$this->simpleSearch->displayed()) {
         $this->pane->click();
     }
     $this->simpleSearch->clear();
     $this->simpleSearch->value($value);
     $this->waitForAjax();
     return $this;
 }
예제 #2
0
파일: Abstract.php 프로젝트: nhp/Xtest
 /**
  * @param PHPUnit_Extensions_Selenium2TestCase_Element $element
  * @return bool
  */
 public function isVisibleInViewport(\PHPUnit_Extensions_Selenium2TestCase_Element $element)
 {
     if (!$element->displayed()) {
         return false;
     }
     $this->markTestIncomplete('not implemented');
     // TODO: Noch berechnen!
     return true;
 }