You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 line
315B

  1. <?php
  2. use tests\codeception\frontend\FunctionalTester;
  3. /* @var $scenario Codeception\Scenario */
  4. $I = new FunctionalTester($scenario);
  5. $I->wantTo('ensure that home page works');
  6. $I->amOnPage(Yii::$app->homeUrl);
  7. $I->see('My Company');
  8. $I->seeLink('About');
  9. $I->click('About');
  10. $I->see('This is the About page.');