mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-29 05:47:17 +08:00
12 lines
235 B
PHP
12 lines
235 B
PHP
<?php
|
|
|
|
use frontend\WebGuy;
|
|
|
|
$I = new WebGuy($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.');
|