10 lines
223 B
PHP
10 lines
223 B
PHP
<?php
|
|
|
|
$I = new FunctionalTester($scenario);
|
|
$I->wantTo('ensure that home page works');
|
|
$I->amOnPage(Yii::$app->homeUrl);
|
|
$I->see('My Company');
|
|
$I->seeLink('About');
|
|
$I->click('About');
|
|
$I->see('This is the About page.');
|