| @@ 259-277 (lines=19) @@ | ||
| 256 | $I->see('0 件', 'div.ec-layoutRole div.ec-layoutRole__contents p.ec-para-nomal strong'); |
|
| 257 | } |
|
| 258 | ||
| 259 | public function mypage_退会手続き未実施(\AcceptanceTester $I) |
|
| 260 | { |
|
| 261 | $I->wantTo('EF0507-UC03-T01 Mypage 退会手続き 未実施'); |
|
| 262 | $createCustomer = Fixtures::get('createCustomer'); |
|
| 263 | $customer = $createCustomer(); |
|
| 264 | $I->loginAsMember($customer->getEmail(), 'password'); |
|
| 265 | ||
| 266 | // TOPページ>マイページ>退会手続き |
|
| 267 | MyPage::go($I) |
|
| 268 | ->退会手続き(); |
|
| 269 | ||
| 270 | // 会員退会手続きへ |
|
| 271 | $I->click('div.ec-withdrawRole form button'); |
|
| 272 | ||
| 273 | // 未実施 |
|
| 274 | $I->click('div.ec-withdrawConfirmRole form a.ec-withdrawConfirmRole__cancel'); |
|
| 275 | ||
| 276 | MyPage::at($I); |
|
| 277 | } |
|
| 278 | ||
| 279 | public function mypage_退会手続き(\AcceptanceTester $I) |
|
| 280 | { |
|
| @@ 51-65 (lines=15) @@ | ||
| 48 | $I->see('新着情報', '.ec-news__title'); |
|
| 49 | } |
|
| 50 | ||
| 51 | public function order_カート削除(\AcceptanceTester $I) |
|
| 52 | { |
|
| 53 | $I->wantTo('EF0301-UC01-T02 カート 削除'); |
|
| 54 | $createCustomer = Fixtures::get('createCustomer'); |
|
| 55 | $customer = $createCustomer(); |
|
| 56 | $I->loginAsMember($customer->getEmail(), 'password'); |
|
| 57 | ||
| 58 | ProductDetailPage::go($I, 2) |
|
| 59 | ->カートに入れる(1); |
|
| 60 | ||
| 61 | $I->acceptPopup(); |
|
| 62 | ||
| 63 | CartPage::go($I) |
|
| 64 | ->商品削除(1); |
|
| 65 | } |
|
| 66 | ||
| 67 | public function order_カート数量増やす(\AcceptanceTester $I) |
|
| 68 | { |
|
| @@ 67-87 (lines=21) @@ | ||
| 64 | ->商品削除(1); |
|
| 65 | } |
|
| 66 | ||
| 67 | public function order_カート数量増やす(\AcceptanceTester $I) |
|
| 68 | { |
|
| 69 | $I->wantTo('EF0301-UC01-T03 カート 数量増やす'); |
|
| 70 | ||
| 71 | $createCustomer = Fixtures::get('createCustomer'); |
|
| 72 | $customer = $createCustomer(); |
|
| 73 | $I->loginAsMember($customer->getEmail(), 'password'); |
|
| 74 | ||
| 75 | // 商品詳細パーコレータ カートへ |
|
| 76 | ProductDetailPage::go($I, 2) |
|
| 77 | ->カートに入れる(1); |
|
| 78 | ||
| 79 | $I->acceptPopup(); |
|
| 80 | ||
| 81 | $cartPage = CartPage::go($I) |
|
| 82 | ->商品数量増やす(1); |
|
| 83 | ||
| 84 | // 確認 |
|
| 85 | $I->assertEquals('2', $cartPage->商品数量(1)); |
|
| 86 | ||
| 87 | } |
|
| 88 | ||
| 89 | public function order_カート数量減らす(\AcceptanceTester $I) |
|
| 90 | { |
|
| @@ 89-107 (lines=19) @@ | ||
| 86 | ||
| 87 | } |
|
| 88 | ||
| 89 | public function order_カート数量減らす(\AcceptanceTester $I) |
|
| 90 | { |
|
| 91 | $I->wantTo('EF0301-UC01-T04 カート 数量減らす'); |
|
| 92 | $createCustomer = Fixtures::get('createCustomer'); |
|
| 93 | $customer = $createCustomer(); |
|
| 94 | $I->loginAsMember($customer->getEmail(), 'password'); |
|
| 95 | ||
| 96 | // 商品詳細パーコレータ カートへ |
|
| 97 | ProductDetailPage::go($I, 2) |
|
| 98 | ->カートに入れる(2); |
|
| 99 | ||
| 100 | $I->acceptPopup(); |
|
| 101 | ||
| 102 | $cartPage = CartPage::go($I) |
|
| 103 | ->商品数量減らす(1); |
|
| 104 | ||
| 105 | // 確認 |
|
| 106 | $I->assertEquals('1', $cartPage->商品数量(1)); |
|
| 107 | } |
|
| 108 | ||
| 109 | public function order_ログインユーザ購入(\AcceptanceTester $I) |
|
| 110 | { |
|