Renamed guy classes to actors, fixed phpdoc and code style

This commit is contained in:
Alexander Makarov
2014-08-16 18:15:41 +04:00
parent 1bf6843d08
commit cef430af01
55 changed files with 172 additions and 115 deletions

View File

@@ -2,7 +2,7 @@
use codeception\_pages\AboutPage;
$I = new TestGuy($scenario);
$I = new FunctionalTester($scenario);
$I->wantTo('ensure that about works');
AboutPage::openBy($I);
$I->see('About', 'h1');

View File

@@ -2,7 +2,7 @@
use codeception\_pages\ContactPage;
$I = new TestGuy($scenario);
$I = new FunctionalTester($scenario);
$I->wantTo('ensure that contact works');
$contactPage = ContactPage::openBy($I);

View File

@@ -1,6 +1,6 @@
<?php
$I = new TestGuy($scenario);
$I = new FunctionalTester($scenario);
$I->wantTo('ensure that home page works');
$I->amOnPage(Yii::$app->homeUrl);
$I->see('My Company');

View File

@@ -2,7 +2,7 @@
use codeception\_pages\LoginPage;
$I = new TestGuy($scenario);
$I = new FunctionalTester($scenario);
$I->wantTo('ensure that login works');
$loginPage = LoginPage::openBy($I);