17 lines
341 B
PHP
Raw Normal View History

2016-07-14 19:20:28 +03:00
<?php
use yii\helpers\Url as Url;
2016-07-14 19:20:28 +03:00
class HomeCest
{
public function ensureThatHomePageWorks(AcceptanceTester $I)
{
$I->amOnPage(Url::toRoute('/site/index'));
2016-07-14 19:20:28 +03:00
$I->see('My Company');
$I->seeLink('About');
$I->click('About');
$I->see('This is the About page.');
}
}