2013-06-23 08:26:22 +08:00
|
|
|
<?php
|
2013-12-17 07:27:33 +08:00
|
|
|
|
2013-06-23 08:26:22 +08:00
|
|
|
$I = new WebGuy($scenario);
|
|
|
|
$I->wantTo('ensure that home page works');
|
2013-12-29 04:04:08 +08:00
|
|
|
$I->amOnPage(Yii::$app->homeUrl);
|
2013-06-23 08:26:22 +08:00
|
|
|
$I->see('My Company');
|
|
|
|
$I->seeLink('About');
|
|
|
|
$I->click('About');
|
|
|
|
$I->see('This is the About page.');
|