2016-07-14 18:20:28 +02:00

17 lines
356 B
PHP

<?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.');
}
}