17 lines
356 B
PHP
Raw Normal View History

2016-07-14 19:20:28 +03:00
<?php
class HomeCest
{
public function ensureThatHomePageWorks(AcceptanceTester $I)
{
//$I->amOnPage(Yii::$app->homeUrl);
$I->amOnPage('index.php?r=site%2Findex');
$I->see('My Company');
$I->seeLink('About');
$I->click('About');
$I->see('This is the About page.');
}
}