src/Concerns/InteractsWithPages.php
protected function seePageIs($uri)
    {
        $this->assertPageLoaded($uri = $this->prepareUrlForRequest($uri));

        $this->assertEquals(
            $uri, $this->currentUri, "Did not land on expected page [{$uri}].\n"
        );

        return $this;
    }
protected function seePageIs($uri)
    {
        $this->assertPageLoaded($uri = $this->prepareUrlForRequest($uri));

        $this->assertEquals(
            $uri, $this->currentUri, "Did not land on expected page [{$uri}].\n"
        );

        return $this;
    }
protected function seePageIs ( $ uri ) { $ this -> assertPageLoaded ( $ uri = $ this -> prepareUrlForRequest ( $ uri ) ) ; $ this -> assertEquals ( $ uri , $ this -> currentUri , "Did not land on expected page [{$uri}].\n" ) ; return $ this ; }
Assert that the current page matches a given URI.

@param  string  $uri
@return $this
Assert that the current page matches a given URI .