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.
12 lines
315 B
12 lines
315 B
<?php
|
|
use tests\codeception\frontend\AcceptanceTester;
|
|
|
|
/* @var $scenario Codeception\Scenario */
|
|
|
|
$I = new AcceptanceTester($scenario);
|
|
$I->wantTo('ensure that home page works');
|
|
$I->amOnPage(Yii::$app->homeUrl);
|
|
$I->see('My Company');
|
|
$I->seeLink('About');
|
|
$I->click('About');
|
|
$I->see('This is the About page.');
|
|
|