From dedc05d955464b165a8c77df58f4fb6f46af567c Mon Sep 17 00:00:00 2001 From: pineray Date: Mon, 22 Aug 2022 08:57:36 +0900 Subject: [PATCH] =?UTF-8?q?codeception=20=E3=81=AE=E3=82=A8=E3=83=A9?= =?UTF-8?q?=E3=83=BC=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- codeception/_support/Page/Admin/OrderEditPage.php | 6 +++--- codeception/_support/Page/Admin/TaxManagePage.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/codeception/_support/Page/Admin/OrderEditPage.php b/codeception/_support/Page/Admin/OrderEditPage.php index 3e685ec81e2..072d0954a87 100644 --- a/codeception/_support/Page/Admin/OrderEditPage.php +++ b/codeception/_support/Page/Admin/OrderEditPage.php @@ -153,8 +153,8 @@ public function 注文者パネルを開く() public function 商品検索($value = '') { - $this->tester->scrollTo(['css' => '#orderItem > div > div.row.justify-content-between.mb-2 > div.col-6 > a.btn.btn-ec-regular.mr-2.add'], 0, -50); - $this->tester->click(['css' => '#orderItem > div > div.row.justify-content-between.mb-2 > div.col-6 > a.btn.btn-ec-regular.mr-2.add']); + $this->tester->scrollTo(['css' => '#orderItem > div > div.row.justify-content-between.mb-2 > div.col-6 > a.btn.btn-ec-regular.me-2.add'], 0, -50); + $this->tester->click(['css' => '#orderItem > div > div.row.justify-content-between.mb-2 > div.col-6 > a.btn.btn-ec-regular.me-2.add']); $this->tester->waitForElementVisible(['id' => 'addProduct']); $this->tester->fillField(['id' => 'admin_search_product_id'], $value); $this->tester->click('#searchProductModalButton'); @@ -187,7 +187,7 @@ public function 明細の項目名を取得($row) public function 明細を削除($row) { $this->tester->scrollTo(['css' => '#order-product']); - $this->tester->click("#table-form-field > tbody > tr:nth-child({$row}) > td.align-middle.text-end.pe-3 > div > div > div.d-inline-block.mr-3 > a"); + $this->tester->click("#table-form-field > tbody > tr:nth-child({$row}) > td.align-middle.text-end.pe-3 > div > div > div.d-inline-block.me-3 > a"); $this->tester->waitForElementVisible("#table-form-field > tbody > tr:nth-child({$row}) > td.align-middle.text-end.pe-3 > div > div > div.modal"); return $this; diff --git a/codeception/_support/Page/Admin/TaxManagePage.php b/codeception/_support/Page/Admin/TaxManagePage.php index b4a5af16e42..befc2bd856c 100644 --- a/codeception/_support/Page/Admin/TaxManagePage.php +++ b/codeception/_support/Page/Admin/TaxManagePage.php @@ -66,7 +66,7 @@ public function 一覧_編集($rowNum) public function 一覧_削除($rowNum) { - $this->tester->click("table tbody tr:nth-child(${rowNum}) > td.align-middle.action > div > div > div:nth-child(2) > div.d-inline-block.mr-3 > a"); + $this->tester->click("table tbody tr:nth-child(${rowNum}) > td.align-middle.action > div > div > div:nth-child(2) > div.d-inline-block.me-3 > a"); // accept modal $this->tester->waitForElementVisible("table tbody tr:nth-child(${rowNum}) > td.align-middle.action > div > div > div:nth-child(2) > div.modal");