yii2-netdisk/tests/acceptance/HomeCest.php

16 lines
312 B
PHP
Raw Normal View History

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