personal_area_php/frontend/tests/functional/HomeCest.php
2024-04-24 18:02:58 +03:00

17 lines
345 B
PHP

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