Testing 使用Laravel 4和PhpBrowser重定向时Codeception测试失败

Testing 使用Laravel 4和PhpBrowser重定向时Codeception测试失败,testing,laravel-4,codeception,Testing,Laravel 4,Codeception,与此相关: 我使用的是Laravel4.1 我无法通过重定向到其他页面的测试,例如: $I = new TestGuy($scenario); $I->wantTo('be able to log in via the login form'); $I->amOnPage('/login'); $I->fillField('Email','test@student.com'); $I->fillField('Password','password'); $I->cl

与此相关:

我使用的是Laravel4.1

我无法通过重定向到其他页面的测试,例如:

$I = new TestGuy($scenario);
$I->wantTo('be able to log in via the login form');
$I->amOnPage('/login');
$I->fillField('Email','test@student.com');
$I->fillField('Password','password');
$I->click('confirm');

$I->canSee('WELCOME Test Student');
测试因“重定向到http://..”而不是重定向到的页面而失败

重定向正在由Redirect::route($name)执行

似乎是PhpBrowser的问题

有解决办法吗?找不到任何具有解决方案的最新信息

我找到了一个解决方法:[link](stackoverflow.com/questions/19461630/why-doesnt-codeceptions-phpbrowser-follow-a-reload-header#comment34871941_19461630)使用WebDriver和PhantomJS作为验收中的浏览器使其工作。让功能测试也像这样工作会很好,但现在就可以了。不是完整的答案,所以不发布。如果?