我想检查这样的事情:
<?php
$I->amOnPage('/go/google');
$I->seeCurrentUrlEquals('http://google.com');
但我得到错误:
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'http://google.com'
+''
Scenario Steps:
2. I see current url equals "http://google.com"
1. I am on page "/go/google"
想法只是检查用户是否被重定向到外部资源。