Eccube\Tests\Web\ShoppingControllerTest::testShippingShipping PHP Method

testShippingShipping() public method

購入確認画面→お届け先の設定→お届け先一覧
    public function testShippingShipping()
    {
        $faker = $this->getFaker();
        $Customer = $this->logIn();
        $client = $this->client;
        // カート画面
        $this->scenarioCartIn($client);
        // 確認画面
        $crawler = $this->scenarioConfirm($client);
        // お届け先指定画面
        $shipping_url = $crawler->filter('a.btn-shipping')->attr('href');
        $crawler = $this->scenarioComplete($client, $shipping_url);
        $shipping_url = str_replace('shipping_change', 'shipping', $shipping_url);
        // お届け先一覧
        $crawler = $client->request('GET', $shipping_url);
        $this->assertTrue($client->getResponse()->isSuccessful());
        $this->expected = 'お届け先の指定';
        $this->actual = $crawler->filter('h1.page-heading')->text();
        $this->verify();
    }