Server_AccessControl/vendor/codeception/base/tests/web/FriendsCept.php
2020-10-06 14:27:47 +07:00

11 lines
257 B
PHP

<?php
$I = new WebGuy($scenario);
$I->wantTo('call friends to try multi session');
$I->amOnPage('/info');
$jon = $I->haveFriend('jon');
$jon->does(function (WebGuy $I) {
$I->amOnPage('/');
$I->seeInCurrentUrl('/');
});
$I->seeInCurrentUrl('/info');