| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | public function contactFormCanBeSubmitted(AcceptanceTester $I) |
||
| 23 | { |
||
| 24 | $I->amGoingTo('submit contact form with correct data'); |
||
| 25 | $I->fillField('#contactform-name', 'tester'); |
||
| 26 | $I->fillField('#contactform-email', '[email protected]'); |
||
| 27 | $I->fillField('#contactform-subject', 'test subject'); |
||
| 28 | $I->fillField('#contactform-body', 'test content'); |
||
| 29 | |||
| 30 | $I->click('Submit'); |
||
| 31 | |||
| 32 | $I->see("Thank you for contacting us, we'll get in touch with you as soon as possible."); |
||
| 33 | } |
||
| 35 |