| @@ 123-129 (lines=7) @@ | ||
| 120 | return $this; |
|
| 121 | } |
|
| 122 | ||
| 123 | public function 商品検索($value = '') |
|
| 124 | { |
|
| 125 | $this->tester->click(['xpath' => '//*[@id="shipmentItem"]/div/div/div/button']); |
|
| 126 | $this->tester->waitForElementVisible(['id' => 'addProduct']); |
|
| 127 | $this->tester->click(['id' => 'searchItemsButton']); |
|
| 128 | return $this; |
|
| 129 | } |
|
| 130 | ||
| 131 | public function 商品検索結果_選択($rowNum) |
|
| 132 | { |
|
| @@ 85-92 (lines=8) @@ | ||
| 82 | $this->tester->click(['xpath' => "//*[@id='form_bulk']/div[2]/div/table/tbody/tr[${rowNum}]/td[2]/a"]); |
|
| 83 | } |
|
| 84 | ||
| 85 | public function 一覧_削除() |
|
| 86 | { |
|
| 87 | $this->tester->waitForElementVisible(['xpath' => '//*[@id="btn_bulk"]/button[3]']); |
|
| 88 | $this->tester->click(['xpath' => '//*[@id="btn_bulk"]/button[3]']); |
|
| 89 | $this->tester->waitForElementVisible(['xpath' => '//*[@id="btn_bulk_delete"]']); |
|
| 90 | $this->tester->click(['xpath' => '//*[@id="btn_bulk_delete"]']); |
|
| 91 | return $this; |
|
| 92 | } |
|
| 93 | ||
| 94 | public function 一覧_削除キャンセル() |
|
| 95 | { |
|
| @@ 101-109 (lines=9) @@ | ||
| 98 | return $this; |
|
| 99 | } |
|
| 100 | ||
| 101 | public function 一括発送済み更新() |
|
| 102 | { |
|
| 103 | $this->tester->waitForElementVisible(['xpath' => '//*[@id="btn_bulk"]/button[2]']); |
|
| 104 | $this->tester->click(['xpath' => '//*[@id="btn_bulk"]/button[2]']); |
|
| 105 | $this->tester->wait(3); |
|
| 106 | $this->tester->click(['id' => 'notificationMail']); |
|
| 107 | $this->tester->click(['id' => 'bulkChange']); |
|
| 108 | return $this; |
|
| 109 | } |
|
| 110 | ||
| 111 | public function 一括発送済みメール送信() |
|
| 112 | { |
|
| @@ 111-118 (lines=8) @@ | ||
| 108 | return $this; |
|
| 109 | } |
|
| 110 | ||
| 111 | public function 一括発送済みメール送信() |
|
| 112 | { |
|
| 113 | $this->tester->waitForElementVisible(['xpath' => '//*[@id="btn_bulk"]/button[1]']); |
|
| 114 | $this->tester->click(['xpath' => '//*[@id="btn_bulk"]/button[1]']); |
|
| 115 | $this->tester->wait(3); |
|
| 116 | $this->tester->click(['id' => 'bulkChange']); |
|
| 117 | return $this; |
|
| 118 | } |
|
| 119 | ||
| 120 | public function 一覧_全選択() |
|
| 121 | { |
|
| @@ 70-76 (lines=7) @@ | ||
| 67 | return $this; |
|
| 68 | } |
|
| 69 | ||
| 70 | public function 受注CSVダウンロード実行() |
|
| 71 | { |
|
| 72 | $this->tester->click(['id' => 'csvDownloadDropDown']); |
|
| 73 | $this->tester->waitForElementVisible(['id' => 'orderCsvDownload']); |
|
| 74 | $this->tester->click(['id' => 'orderCsvDownload']); |
|
| 75 | return $this; |
|
| 76 | } |
|
| 77 | ||
| 78 | public function 受注CSV出力項目設定() |
|
| 79 | { |
|
| @@ 78-84 (lines=7) @@ | ||
| 75 | return $this; |
|
| 76 | } |
|
| 77 | ||
| 78 | public function 受注CSV出力項目設定() |
|
| 79 | { |
|
| 80 | $this->tester->click(['id' => 'csvSettingDropDown']); |
|
| 81 | $this->tester->waitForElementVisible(['id' => 'orderCsvSetting']); |
|
| 82 | $this->tester->click(['id' => 'orderCsvSetting']); |
|
| 83 | return $this; |
|
| 84 | } |
|
| 85 | ||
| 86 | public function 配送CSVダウンロード実行() |
|
| 87 | { |
|
| @@ 86-92 (lines=7) @@ | ||
| 83 | return $this; |
|
| 84 | } |
|
| 85 | ||
| 86 | public function 配送CSVダウンロード実行() |
|
| 87 | { |
|
| 88 | $this->tester->click(['id' => 'csvDownloadDropDown']); |
|
| 89 | $this->tester->waitForElementVisible(['id' => 'shippingCsvDownload']); |
|
| 90 | $this->tester->click(['id' => 'shippingCsvDownload']); |
|
| 91 | return $this; |
|
| 92 | } |
|
| 93 | ||
| 94 | public function 配送CSV出力項目設定() |
|
| 95 | { |
|
| @@ 94-100 (lines=7) @@ | ||
| 91 | return $this; |
|
| 92 | } |
|
| 93 | ||
| 94 | public function 配送CSV出力項目設定() |
|
| 95 | { |
|
| 96 | $this->tester->click(['id' => 'csvSettingDropDown']); |
|
| 97 | $this->tester->waitForElementVisible(['id' => 'shippingCsvSetting']); |
|
| 98 | $this->tester->click(['id' => 'shippingCsvSetting']); |
|
| 99 | return $this; |
|
| 100 | } |
|
| 101 | ||
| 102 | public function すべてチェック() |
|
| 103 | { |
|
| @@ 181-190 (lines=10) @@ | ||
| 178 | return $this; |
|
| 179 | } |
|
| 180 | ||
| 181 | public function 一括メール送信() |
|
| 182 | { |
|
| 183 | $this->tester->click(['id' => 'bulkSendMail']); |
|
| 184 | $this->tester->waitForElementVisible(['id' => 'sentUpdateModal']); |
|
| 185 | $this->tester->wait(1); |
|
| 186 | $this->tester->click(['id' => 'bulkChange']); |
|
| 187 | $this->tester->wait(5); |
|
| 188 | $this->tester->waitForElementVisible(['id' => 'bulkChangeComplete']); |
|
| 189 | return $this; |
|
| 190 | } |
|
| 191 | ||
| 192 | public function 一覧_注文番号($rowNum) |
|
| 193 | { |
|