예제 #1
0
 public function testDontSeeInFieldOnTextarea()
 {
     $this->module->amOnPage('/form/textarea');
     $this->module->dontSeeInField('Description', 'sunset');
     $this->module->dontSeeInField('textarea', 'sunset');
     $this->module->dontSeeInField('descendant-or-self::textarea[@id="description"]', 'sunset');
 }
예제 #2
0
 public function testSeeInFieldOnTextareaFails()
 {
     $this->shouldFail();
     $this->module->amOnPage('/form/textarea');
     $this->module->dontSeeInField('Description', 'sunrise');
 }