Checks that the page title contains the given string.
php
seeInTitle('Blog - Post #1');
?>
public seeInTitle ( $title ) : mixed | ||
$title | ||
Résultat | mixed |
/** * Test is home available * * @param AcceptanceTester $I */ public function backendLogin(AcceptanceTester $I) { $I = new WebGuy($scenario); $I->wantTo('see GitHub word in title '); $I->amOnPage('/'); $I->seeInTitle('GitHub'); }
<?php $I = new WebGuy($scenario); $I->wantTo('see GitHub word in title '); $I->amOnPage('/'); $I->seeInTitle('GitHub');