yii2-netdisk/tests/codeception/acceptance/HomeCest.php

17 lines
356 B
PHP
Raw Normal View History

2016-07-15 00:20:28 +08: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.');
}
}