@@ -162,9 +162,9 @@ discard block |
||
| 162 | 162 | // 削除 |
| 163 | 163 | $OrderNumForDel = $OrderListPage->一覧_注文番号(1); |
| 164 | 164 | $OrderListPage |
| 165 | - ->一覧_選択(1) |
|
| 166 | - ->一覧_削除() |
|
| 167 | - ->Accept_削除(); |
|
| 165 | + ->一覧_選択(1) |
|
| 166 | + ->一覧_削除() |
|
| 167 | + ->Accept_削除(); |
|
| 168 | 168 | |
| 169 | 169 | $I->see('受注情報を削除しました', ['css' => '#page_admin_order > div > div.c-contentsArea > div.alert.alert-success.alert-dismissible.fade.show.m-3 > span']); |
| 170 | 170 | $I->assertNotEquals($OrderNumForDel, $OrderListPage->一覧_注文番号(1)); |
@@ -172,9 +172,9 @@ discard block |
||
| 172 | 172 | // 削除キャンセル |
| 173 | 173 | $OrderNumForDontDel = $OrderListPage->一覧_注文番号(1); |
| 174 | 174 | $OrderListPage |
| 175 | - ->一覧_選択(1) |
|
| 176 | - ->一覧_削除() |
|
| 177 | - ->Cancel_削除(); |
|
| 175 | + ->一覧_選択(1) |
|
| 176 | + ->一覧_削除() |
|
| 177 | + ->Cancel_削除(); |
|
| 178 | 178 | |
| 179 | 179 | $I->assertEquals($OrderNumForDontDel, $OrderListPage->一覧_注文番号(1)); |
| 180 | 180 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\UnitTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\FunctionalTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |
@@ -150,8 +150,8 @@ |
||
| 150 | 150 | */ |
| 151 | 151 | public function 検索結果_削除($rowNum) |
| 152 | 152 | { |
| 153 | - $this->tester->click("#page_admin_product > div.c-container > div.c-contentsArea > div.c-contentsArea__cols > div > div > form > div.card.rounded.border-0.mb-4 > div.card-body.p-0 > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3 > div > div:nth-child(3) > a"); |
|
| 154 | - return $this; |
|
| 153 | + $this->tester->click("#page_admin_product > div.c-container > div.c-contentsArea > div.c-contentsArea__cols > div > div > form > div.card.rounded.border-0.mb-4 > div.card-body.p-0 > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3 > div > div:nth-child(3) > a"); |
|
| 154 | + return $this; |
|
| 155 | 155 | } |
| 156 | 156 | |
| 157 | 157 | public function Accept_重複する($rowNum) |
@@ -169,6 +169,6 @@ |
||
| 169 | 169 | { |
| 170 | 170 | $this->tester->scrollTo(['id' => 'shipmentOverview_'.$num], 0, 50); |
| 171 | 171 | $this->tester->see((new \DateTime())->format('Y/m/d'), |
| 172 | - '#shipmentOverview_'.$num.' > div > div:nth-child(4) > div:nth-child(2) > div:nth-child(3) > div > span'); |
|
| 172 | + '#shipmentOverview_'.$num.' > div > div:nth-child(4) > div:nth-child(2) > div:nth-child(3) > div > span'); |
|
| 173 | 173 | } |
| 174 | 174 | } |