public function HeaderTest::testIssue130 in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/driver-testsuite/tests/Basic/HeaderTest.php \Behat\Mink\Tests\Driver\Basic\HeaderTest::testIssue130()
test referrer.
@group issue130
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Basic/ HeaderTest.php, line 14
Class
Namespace
Behat\Mink\Tests\Driver\BasicCode
public function testIssue130() {
$this
->getSession()
->visit($this
->pathTo('/issue130.php?p=1'));
$page = $this
->getSession()
->getPage();
$page
->clickLink('Go to 2');
$this
->assertEquals($this
->pathTo('/issue130.php?p=1'), $page
->getText());
}