2013-06-23 19:26:16 -04:00
|
|
|
<?php
|
2013-12-17 00:27:33 +01:00
|
|
|
|
2014-08-16 18:15:41 +04:00
|
|
|
$I = new FunctionalTester($scenario);
|
2013-06-23 19:26:16 -04:00
|
|
|
$I->wantTo('ensure that home page works');
|
2013-12-28 15:04:08 -05:00
|
|
|
$I->amOnPage(Yii::$app->homeUrl);
|
2013-06-23 19:26:16 -04:00
|
|
|
$I->see('My Company');
|
|
|
|
$I->seeLink('About');
|
|
|
|
$I->click('About');
|
|
|
|
$I->see('This is the About page.');
|