您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

27 行
612B

  1. <?php
  2. class MyNewScenarioCest
  3. {
  4. public function _before(FunctionalTester $I)
  5. {
  6. }
  7. public function _after(FunctionalTester $I)
  8. {
  9. }
  10. // tests
  11. public function tryToTest(FunctionalTester $I)
  12. {
  13. $I->amOnPage(['site/contact']);
  14. /*$I->submitForm('#contact-form', []);
  15. $I->expectTo('see validations errors');
  16. $I->see('Contact', 'h1');
  17. $I->see('Name cannot be blank');
  18. $I->see('Email cannot be blank');
  19. $I->see('Subject cannot be blank');
  20. $I->see('Body cannot be blank');*/
  21. //$I->see('<h1>Contact</h1>');
  22. }
  23. }