Checks that the current URL is equal to the given string.
Unlike seeInCurrentUrl, this only matches the full URL.
php
seeCurrentUrlEquals('/');
?>
public seeCurrentUrlEquals ( $uri ) | ||
$uri |
<?php $I = new WebGuy($scenario); $I->wantTo('update a page'); $I->amOnPage('users/login'); $I->fillField('email', '*****@*****.**'); $I->fillField('password', 'admin'); $I->click('button[type=submit]'); $I->amOnPage('/admin/pages/1/edit'); $I->fillField('fr[title]', 'title test'); $I->click('Save and exit'); $I->seeCurrentUrlEquals('/admin/pages');