|
@@ 144-154 (lines=11) @@
|
| 141 |
|
return $this; |
| 142 |
|
} |
| 143 |
|
|
| 144 |
|
public function 一覧_メール通知($rowNum) |
| 145 |
|
{ |
| 146 |
|
$this->tester->click(['css' => "#search_result > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3.text-center > div > div:nth-child(1) > a"]); |
| 147 |
|
$this->tester->waitForElementVisible(['id' => 'sentUpdateModal']); |
| 148 |
|
$this->tester->wait(2); |
| 149 |
|
$this->tester->scrollTo(['id' => 'bulkChange']); |
| 150 |
|
$this->tester->click(['id' => 'bulkChange']); |
| 151 |
|
$this->tester->wait(5); |
| 152 |
|
$this->tester->waitForElementVisible(['id' => 'bulkChangeComplete']); |
| 153 |
|
return $this; |
| 154 |
|
} |
| 155 |
|
|
| 156 |
|
public function 一覧_選択($rowNum) |
| 157 |
|
{ |
|
@@ 169-179 (lines=11) @@
|
| 166 |
|
} |
| 167 |
|
|
| 168 |
|
|
| 169 |
|
public function 個別メール送信($rowNum) |
| 170 |
|
{ |
| 171 |
|
$this->tester->click(['css' => "#search_result > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3.text-center > div > div:nth-child(1) > a"]); |
| 172 |
|
$this->tester->waitForElementVisible(['id' => 'sentUpdateModal']); |
| 173 |
|
$this->tester->wait(2); |
| 174 |
|
$this->tester->scrollTo(['id' => 'bulkChange']); |
| 175 |
|
$this->tester->click(['id' => 'bulkChange']); |
| 176 |
|
$this->tester->wait(5); |
| 177 |
|
$this->tester->waitForElementVisible(['id' => 'bulkChangeComplete']); |
| 178 |
|
return $this; |
| 179 |
|
} |
| 180 |
|
|
| 181 |
|
public function 一括メール送信() |
| 182 |
|
{ |
|
@@ 211-222 (lines=12) @@
|
| 208 |
|
return $this; |
| 209 |
|
} |
| 210 |
|
|
| 211 |
|
public function 出荷済にする($rowNum) |
| 212 |
|
{ |
| 213 |
|
$this->tester->click("#search_result > tbody > tr:nth-child($rowNum) a[data-type='status']"); |
| 214 |
|
$this->tester->waitForElementVisible(['id' => 'sentUpdateModal']); |
| 215 |
|
$this->tester->wait(2); |
| 216 |
|
$this->tester->click(['id' => 'notificationMail']); |
| 217 |
|
$this->tester->scrollTo(['id' => 'bulkChange']); |
| 218 |
|
$this->tester->click(['id' => 'bulkChange']); |
| 219 |
|
$this->tester->wait(5); |
| 220 |
|
$this->tester->waitForElementVisible(['id' => 'bulkChangeComplete']); |
| 221 |
|
return $this; |
| 222 |
|
} |
| 223 |
|
|
| 224 |
|
public function 取得_出荷伝票番号($rowNum) |
| 225 |
|
{ |