HomeCept.php 223 Bytes
Newer Older
1
<?php
2

3
$I = new FunctionalTester($scenario);
4
$I->wantTo('ensure that home page works');
5
$I->amOnPage(Yii::$app->homeUrl);
6 7 8 9
$I->see('My Company');
$I->seeLink('About');
$I->click('About');
$I->see('This is the About page.');