| @@ 70-90 (lines=21) @@ | ||
| 67 | $I->see('郵便振替', $PaymentManagePage->一覧_支払方法(1)); |
|
| 68 | } |
|
| 69 | ||
| 70 | public function basicinfo_支払方法登録(\AcceptanceTester $I) |
|
| 71 | { |
|
| 72 | $I->getScenario()->skip('EA0705-UC01-T01 支払方法 登録'); |
|
| 73 | $I->wantTo('EA0705-UC01-T01 支払方法 登録'); |
|
| 74 | ||
| 75 | // 表示 |
|
| 76 | // 登録フォーム |
|
| 77 | PaymentManagePage::go($I) |
|
| 78 | ->新規入力(); |
|
| 79 | ||
| 80 | // 登録 |
|
| 81 | PaymentEditPage::at($I) |
|
| 82 | ->入力_支払方法('payment method1') |
|
| 83 | ->入力_手数料('100') |
|
| 84 | ->入力_利用条件下限('1') |
|
| 85 | ->登録(); |
|
| 86 | ||
| 87 | $PaymentManagePage = PaymentManagePage::at($I); |
|
| 88 | $I->see('登録が完了しました。', PaymentManagePage::$登録完了メッセージ); |
|
| 89 | $I->see('payment method1', $PaymentManagePage->一覧_支払方法(1)); |
|
| 90 | } |
|
| 91 | ||
| 92 | public function basicinfo_支払方法編集(\AcceptanceTester $I) |
|
| 93 | { |
|
| @@ 92-110 (lines=19) @@ | ||
| 89 | $I->see('payment method1', $PaymentManagePage->一覧_支払方法(1)); |
|
| 90 | } |
|
| 91 | ||
| 92 | public function basicinfo_支払方法編集(\AcceptanceTester $I) |
|
| 93 | { |
|
| 94 | $I->getScenario()->skip('EA0705-UC01-T01 支払方法 登録'); |
|
| 95 | $I->wantTo('EA0705-UC02-T01 支払方法 編集'); |
|
| 96 | ||
| 97 | // 表示 |
|
| 98 | PaymentManagePage::go($I) |
|
| 99 | ->一覧_編集(1); |
|
| 100 | ||
| 101 | // 編集 |
|
| 102 | PaymentEditPage::at($I) |
|
| 103 | ->入力_支払方法('payment method2') |
|
| 104 | ->入力_手数料('1000') |
|
| 105 | ->登録(); |
|
| 106 | ||
| 107 | $PaymentManagePage = PaymentManagePage::at($I); |
|
| 108 | $I->see('登録が完了しました。', PaymentManagePage::$登録完了メッセージ); |
|
| 109 | $I->see('payment method2', $PaymentManagePage->一覧_支払方法(1)); |
|
| 110 | } |
|
| 111 | ||
| 112 | public function basicinfo_支払方法削除(\AcceptanceTester $I) |
|
| 113 | { |
|
| @@ 132-151 (lines=20) @@ | ||
| 129 | $I->see('サンプル宅配', $DeliveryManagePage->一覧_名称(1)); |
|
| 130 | } |
|
| 131 | ||
| 132 | public function basicinfo_配送方法登録(\AcceptanceTester $I) |
|
| 133 | { |
|
| 134 | $I->wantTo('EA0707-UC01-T01 配送方法 登録'); |
|
| 135 | ||
| 136 | // 表示 |
|
| 137 | DeliveryManagePage::go($I) |
|
| 138 | ->新規登録(); |
|
| 139 | ||
| 140 | // 登録 |
|
| 141 | DeliveryEditPage::at($I) |
|
| 142 | ->入力_配送業者名('配送業者名') |
|
| 143 | ->入力_名称('名称') |
|
| 144 | ->入力_支払方法選択(['1', '4']) |
|
| 145 | ->入力_全国一律送料('100') |
|
| 146 | ->登録(); |
|
| 147 | ||
| 148 | $DeliveryManagePage = DeliveryManagePage::at($I); |
|
| 149 | $I->see('登録が完了しました。', DeliveryManagePage::$登録完了メッセージ); |
|
| 150 | $I->see('配送業者名', $DeliveryManagePage->一覧_名称(1)); |
|
| 151 | } |
|
| 152 | ||
| 153 | public function basicinfo_配送方法編集(\AcceptanceTester $I) |
|
| 154 | { |
|