Neos\FluidAdaptor\Tests\Functional\Core\WidgetTest::redirectWithoutDelayAndNoParameterImmediatelyRedirectsToTargetAction PHP Method

redirectWithoutDelayAndNoParameterImmediatelyRedirectsToTargetAction() public method

    public function redirectWithoutDelayAndNoParameterImmediatelyRedirectsToTargetAction()
    {
        $this->browser->request('http://localhost/test/widget/redirecttest');
        $redirectTriggerUri = $this->browser->getCrawler()->filterXPath('//*[@id="redirect-no-delay-no-param"]')->attr('href');
        $response = $this->browser->request($redirectTriggerUri);
        $this->assertSame('<div id="parameter"></div>', trim($response->getContent()));
    }