2013-06-24 07:26:16 +08:00
|
|
|
<?php
|
2013-12-17 07:27:33 +08:00
|
|
|
|
2015-01-29 14:34:42 +08:00
|
|
|
/* @var $scenario Codeception\Scenario */
|
|
|
|
|
2014-08-16 22:15:41 +08:00
|
|
|
$I = new FunctionalTester($scenario);
|
2013-06-24 07:26:16 +08:00
|
|
|
$I->wantTo('ensure that home page works');
|
2013-12-29 04:04:08 +08:00
|
|
|
$I->amOnPage(Yii::$app->homeUrl);
|
2013-06-24 07:26:16 +08:00
|
|
|
$I->see('My Company');
|
|
|
|
$I->seeLink('About');
|
|
|
|
$I->click('About');
|
|
|
|
$I->see('This is the About page.');
|