17 lines
344 B
PHP
Executable File
17 lines
344 B
PHP
Executable File
<?php
|
|
|
|
namespace frontend\tests\functional;
|
|
|
|
use frontend\tests\FunctionalTester;
|
|
|
|
class HomeCest
|
|
{
|
|
public function checkOpen(FunctionalTester $I)
|
|
{
|
|
$I->amOnPage(\Yii::$app->homeUrl);
|
|
$I->see('My Application');
|
|
$I->seeLink('About');
|
|
$I->click('About');
|
|
$I->see('This is the About page.');
|
|
}
|
|
} |