You are here

public function HeaderTest::testIssue130 in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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

HeaderTest

Namespace

Behat\Mink\Tests\Driver\Basic

Code

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());
}