|
1234567891011121314151617181920212223242526 |
- <?php
-
- class MyNewScenarioCest
- {
- public function _before(FunctionalTester $I)
- {
- }
-
- public function _after(FunctionalTester $I)
- {
- }
-
- // tests
- public function tryToTest(FunctionalTester $I)
- {
- $I->amOnPage(['site/contact']);
- /*$I->submitForm('#contact-form', []);
- $I->expectTo('see validations errors');
- $I->see('Contact', 'h1');
- $I->see('Name cannot be blank');
- $I->see('Email cannot be blank');
- $I->see('Subject cannot be blank');
- $I->see('Body cannot be blank');*/
- //$I->see('<h1>Contact</h1>');
- }
- }
|