/** * @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; }
/** * @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; }