public function testSeeInFieldFail()
 {
     $this->shouldFail();
     $this->module->amOnPage('/form/empty');
     $this->module->seeInField('#empty_textarea', 'xxx');
 }
示例#2
0
 public function testSeeInDeactivatedField()
 {
     $this->module->amOnPage('/form/complex');
     $this->module->seeInField('#disabled_field', 'disabled_field');
     $this->module->seeInField('#salutation', 'mr');
 }
示例#3
0
 public function testArrayField()
 {
     $this->module->amOnPage('/form/example17');
     $this->module->seeInField('input[name="FooBar[bar]"]', 'baz');
     $this->module->seeInField('input[name="Food[beer][yum][yeah]"]', 'mmhm');
 }
示例#4
0
 public function testFieldWithNonLatin()
 {
     $this->module->amOnPage('/info');
     $this->module->seeInField('rus', 'Верно');
 }