init
This commit is contained in:
9
vendor/codeception/base/tests/web/FriendWithStepsCept.php
vendored
Normal file
9
vendor/codeception/base/tests/web/FriendWithStepsCept.php
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$I = new WebGuy($scenario);
|
||||
$I->wantTo('call friend with steps to ask expert work');
|
||||
$I->amOnPage('/info');
|
||||
$john = $I->haveFriend('john', '\WebGuy\RootWatcherSteps');
|
||||
$john->does(function (WebGuy\RootWatcherSteps $I) {
|
||||
$I->seeInRootPage('Welcome to test app!');
|
||||
});
|
||||
$I->seeInCurrentUrl('/info');
|
||||
Reference in New Issue
Block a user