Пример #1
0
 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', 'Верно');
 }