| @@ 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 | { |
|
| @@ 50-56 (lines=7) @@ | ||
| 47 | return $this; |
|
| 48 | } |
|
| 49 | ||
| 50 | public function 受注CSVダウンロード実行() |
|
| 51 | { |
|
| 52 | $this->tester->click(['id' => 'csvDownloadDropDown']); |
|
| 53 | $this->tester->waitForElementVisible(['id' => 'orderCsvDownload']); |
|
| 54 | $this->tester->click(['id' => 'orderCsvDownload']); |
|
| 55 | return $this; |
|
| 56 | } |
|
| 57 | ||
| 58 | public function 受注CSV出力項目設定() |
|
| 59 | { |
|
| @@ 58-64 (lines=7) @@ | ||
| 55 | return $this; |
|
| 56 | } |
|
| 57 | ||
| 58 | public function 受注CSV出力項目設定() |
|
| 59 | { |
|
| 60 | $this->tester->click(['id' => 'csvSettingDropDown']); |
|
| 61 | $this->tester->waitForElementVisible(['id' => 'orderCsvSetting']); |
|
| 62 | $this->tester->click(['id' => 'orderCsvSetting']); |
|
| 63 | return $this; |
|
| 64 | } |
|
| 65 | ||
| 66 | public function 配送CSVダウンロード実行() |
|
| 67 | { |
|
| @@ 66-72 (lines=7) @@ | ||
| 63 | return $this; |
|
| 64 | } |
|
| 65 | ||
| 66 | public function 配送CSVダウンロード実行() |
|
| 67 | { |
|
| 68 | $this->tester->click(['id' => 'csvDownloadDropDown']); |
|
| 69 | $this->tester->waitForElementVisible(['id' => 'shippingCsvDownload']); |
|
| 70 | $this->tester->click(['id' => 'shippingCsvDownload']); |
|
| 71 | return $this; |
|
| 72 | } |
|
| 73 | ||
| 74 | public function 配送CSV出力項目設定() |
|
| 75 | { |
|
| @@ 74-80 (lines=7) @@ | ||
| 71 | return $this; |
|
| 72 | } |
|
| 73 | ||
| 74 | public function 配送CSV出力項目設定() |
|
| 75 | { |
|
| 76 | $this->tester->click(['id' => 'csvSettingDropDown']); |
|
| 77 | $this->tester->waitForElementVisible(['id' => 'shippingCsvSetting']); |
|
| 78 | $this->tester->click(['id' => 'shippingCsvSetting']); |
|
| 79 | return $this; |
|
| 80 | } |
|
| 81 | ||
| 82 | public function すべてチェック() |
|
| 83 | { |
|
| @@ 161-170 (lines=10) @@ | ||
| 158 | return $this; |
|
| 159 | } |
|
| 160 | ||
| 161 | public function 一括メール送信() |
|
| 162 | { |
|
| 163 | $this->tester->click(['id' => 'bulkSendMail']); |
|
| 164 | $this->tester->waitForElementVisible(['id' => 'sentUpdateModal']); |
|
| 165 | $this->tester->wait(1); |
|
| 166 | $this->tester->click(['id' => 'bulkChange']); |
|
| 167 | $this->tester->wait(5); |
|
| 168 | $this->tester->waitForElementVisible(['id' => 'bulkChangeComplete']); |
|
| 169 | return $this; |
|
| 170 | } |
|
| 171 | ||
| 172 | public function 一覧_注文番号($rowNum) |
|
| 173 | { |
|