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