mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
13 lines
315 B
PHP
13 lines
315 B
PHP
<?php
|
|
use tests\codeception\frontend\AcceptanceTester;
|
|
|
|
/* @var $scenario Codeception\Scenario */
|
|
|
|
$I = new AcceptanceTester($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.');
|