/** * @return CaseEntity */ public function add() { $this->test->byXPath("//a[@title='Create Case']")->click(); $this->waitPageToLoad(); $this->waitForAjax(); $task = new CaseEntity($this->test); return $task->init(); }
public function entityNew() { $case = new CaseEntity($this->test); return $case->init(); }