yii2-netdisk/tests/functional/HomeCept.php
2016-07-14 21:03:28 +03:00

12 lines
266 B
PHP

<?php
/* @var $scenario Codeception\Scenario */
$I = new FunctionalTester($scenario);
$I->wantTo('ensure that home page works');
$I->amOnPage(Yii::$app->homeUrl);
$I->see('My Company');
$I->seeLink('About');
$I->click('About');
$I->see('This is the About page.');