|
@@ 154-185 (lines=32) @@
|
| 151 |
|
$ShippingListPage->一覧_削除キャンセル(); |
| 152 |
|
} |
| 153 |
|
|
| 154 |
|
public function shipping一括発送済み更新(\AcceptanceTester $I) |
| 155 |
|
{ |
| 156 |
|
$I->wantTo('EA0902-UC01-T01 一括発送済み更新'); |
| 157 |
|
|
| 158 |
|
// 一括操作用の受注を生成しておく |
| 159 |
|
$createCustomer = Fixtures::get('createCustomer'); |
| 160 |
|
$createOrders = Fixtures::get('createOrders'); |
| 161 |
|
$createOrders($createCustomer(), 10, array()); |
| 162 |
|
|
| 163 |
|
$I->resetEmails(); |
| 164 |
|
|
| 165 |
|
$config = Fixtures::get('config'); |
| 166 |
|
// ステータスを出荷準備中にリセット |
| 167 |
|
$resetShippingStatusPrepared = Fixtures::get('resetShippingStatusPrepared'); // Closure |
| 168 |
|
$resetShippingStatusPrepared(); |
| 169 |
|
|
| 170 |
|
$TargetShippings = Fixtures::get('findShippings'); // Closure |
| 171 |
|
$Shippings = $TargetShippings(); |
| 172 |
|
$ShippingListPage = ShippingManagePage::go($I); |
| 173 |
|
$I->see('検索結果 : '.count($Shippings).' 件が該当しました', ShippingManagePage::$検索結果_メッセージ); |
| 174 |
|
|
| 175 |
|
$ShippingListPage |
| 176 |
|
->一覧_全選択() |
| 177 |
|
->一括発送済み更新(); |
| 178 |
|
|
| 179 |
|
$I->wait(5); |
| 180 |
|
$I->waitForElementVisible(['xpath' => '//*[@id="sentUpdateModal"]/div/div/div[2]/p']); |
| 181 |
|
$I->see('処理完了。10件のメールを送信しました', ['xpath' => '//*[@id="sentUpdateModal"]/div/div/div[2]/p']); |
| 182 |
|
$I->seeEmailCount(20); |
| 183 |
|
|
| 184 |
|
$I->click(['id' => 'bulkChangeComplete']); |
| 185 |
|
} |
| 186 |
|
|
| 187 |
|
public function shipping一括発送済みメール送信(\AcceptanceTester $I) |
| 188 |
|
{ |
|
@@ 187-218 (lines=32) @@
|
| 184 |
|
$I->click(['id' => 'bulkChangeComplete']); |
| 185 |
|
} |
| 186 |
|
|
| 187 |
|
public function shipping一括発送済みメール送信(\AcceptanceTester $I) |
| 188 |
|
{ |
| 189 |
|
$I->wantTo('EA0902-UC02-T01 一括発送済みメール送信'); |
| 190 |
|
|
| 191 |
|
// 一括操作用の受注を生成しておく |
| 192 |
|
$createCustomer = Fixtures::get('createCustomer'); |
| 193 |
|
$createOrders = Fixtures::get('createOrders'); |
| 194 |
|
$createOrders($createCustomer(), 10, array()); |
| 195 |
|
|
| 196 |
|
$I->resetEmails(); |
| 197 |
|
|
| 198 |
|
$config = Fixtures::get('config'); |
| 199 |
|
// ステータスを出荷済みにリセット |
| 200 |
|
$resetShippingStatusShipped = Fixtures::get('resetShippingStatusShipped'); // Closure |
| 201 |
|
$resetShippingStatusShipped(); |
| 202 |
|
|
| 203 |
|
$TargetShippings = Fixtures::get('findShippings'); // Closure |
| 204 |
|
$Shippings = $TargetShippings(); |
| 205 |
|
$ShippingListPage = ShippingManagePage::go($I); |
| 206 |
|
$I->see('検索結果 : '.count($Shippings).' 件が該当しました', ShippingManagePage::$検索結果_メッセージ); |
| 207 |
|
|
| 208 |
|
$ShippingListPage |
| 209 |
|
->一覧_全選択() |
| 210 |
|
->一括発送済みメール送信(); |
| 211 |
|
|
| 212 |
|
$I->wait(5); |
| 213 |
|
$I->waitForElementVisible(['xpath' => '//*[@id="sentUpdateModal"]/div/div/div[2]/p']); |
| 214 |
|
$I->see('処理完了。10件のメールを送信しました', ['xpath' => '//*[@id="sentUpdateModal"]/div/div/div[2]/p']); |
| 215 |
|
$I->seeEmailCount(20); |
| 216 |
|
|
| 217 |
|
$I->click(['id' => 'bulkChangeComplete']); |
| 218 |
|
} |
| 219 |
|
|
| 220 |
|
public function shipping出荷登録(\AcceptanceTester $I) |
| 221 |
|
{ |