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

3 4
$I = new TestGuy($scenario);
$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.');