2013-06-23 19:26:16 -04:00
|
|
|
<?php
|
2013-12-17 00:27:33 +01:00
|
|
|
|
2013-06-23 19:26:16 -04:00
|
|
|
$I = new TestGuy($scenario);
|
|
|
|
$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.');
|