You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
386 B
19 lines
386 B
1 year ago
|
<?php
|
||
|
|
||
|
use yii\helpers\Url;
|
||
|
|
||
|
class HomeCest
|
||
|
{
|
||
|
public function ensureThatHomePageWorks(AcceptanceTester $I)
|
||
|
{
|
||
|
$I->amOnPage(Url::toRoute('/site/index'));
|
||
|
$I->see('My Company');
|
||
|
|
||
|
$I->seeLink('About');
|
||
|
$I->click('About');
|
||
|
$I->wait(2); // wait for page to be opened
|
||
|
|
||
|
$I->see('This is the About page.');
|
||
|
}
|
||
|
}
|