1
0
www.mikescher.com/tests/codeception/acceptance/HomeCept.php

12 lines
266 B
PHP
Raw Permalink Normal View History

2016-05-01 00:27:44 +02:00
<?php
/* @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.');