|
@@ 161-167 (lines=7) @@
|
| 158 |
|
return $this->tester->grabTextFrom("#table-form-field > tbody > tr:nth-child({$row}) > td.align-middle.w-25.pl-3"); |
| 159 |
|
} |
| 160 |
|
|
| 161 |
|
public function 明細を削除($row) |
| 162 |
|
{ |
| 163 |
|
$this->tester->scrollTo(['css' => '#order-product']); |
| 164 |
|
$this->tester->click("#table-form-field > tbody > tr:nth-child({$row}) > td.align-middle.text-right.pr-3 > div > div > a"); |
| 165 |
|
$this->tester->waitForElementVisible("#table-form-field > tbody > tr:nth-child({$row}) > td.align-middle.text-right.pr-3 > div > div > div.modal"); |
| 166 |
|
return $this; |
| 167 |
|
} |
| 168 |
|
|
| 169 |
|
public function acceptDeleteModal($row) |
| 170 |
|
{ |
|
@@ 175-181 (lines=7) @@
|
| 172 |
|
return $this; |
| 173 |
|
} |
| 174 |
|
|
| 175 |
|
public function お届け先の追加() |
| 176 |
|
{ |
| 177 |
|
$this->tester->scrollTo(['css' => '#form1'], 0, 200); |
| 178 |
|
$this->tester->wait(5); |
| 179 |
|
$this->tester->click('#shipping-add'); |
| 180 |
|
return $this; |
| 181 |
|
} |
| 182 |
|
} |
| 183 |
|
|