Code Duplication    Length = 10-11 lines in 4 locations

codeception/_support/Page/Admin/OrderManagePage.php 3 locations

@@ 172-181 (lines=10) @@
169
        return $this;
170
    }
171
172
    public function 一覧_メール通知($rowNum)
173
    {
174
        $this->tester->click(['css' => "#search_result > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3 > div > div:nth-child(1) > a"]);
175
        $this->tester->waitForElementVisible(['id' => 'sentUpdateModal']);
176
        $this->tester->scrollTo(['id' => 'bulkChange']);
177
        $this->tester->click(['id' => 'bulkChange']);
178
        $this->tester->waitForElementVisible(['id' => 'bulkChangeComplete']);
179
180
        return $this;
181
    }
182
183
    public function 一覧_選択($rowNum)
184
    {
@@ 197-206 (lines=10) @@
194
        return $this;
195
    }
196
197
    public function 個別メール送信($rowNum)
198
    {
199
        $this->tester->click(['css' => "#search_result > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3.text-center > div > div:nth-child(1) > a"]);
200
        $this->tester->waitForElementVisible(['id' => 'sentUpdateModal']);
201
        $this->tester->scrollTo(['id' => 'bulkChange']);
202
        $this->tester->click(['id' => 'bulkChange']);
203
        $this->tester->waitForElementVisible(['id' => 'bulkChangeComplete']);
204
205
        return $this;
206
    }
207
208
    public function 一括メール送信()
209
    {
@@ 239-249 (lines=11) @@
236
        return $this;
237
    }
238
239
    public function 出荷済にする($rowNum)
240
    {
241
        $this->tester->click("#search_result > tbody > tr:nth-child($rowNum) a[data-type='status']");
242
        $this->tester->waitForElementVisible(['id' => 'sentUpdateModal']);
243
        $this->tester->click(['id' => 'notificationMail']);
244
        $this->tester->scrollTo(['id' => 'bulkChange']);
245
        $this->tester->click(['id' => 'bulkChange']);
246
        $this->tester->waitForElementVisible(['id' => 'bulkChangeComplete']);
247
248
        return $this;
249
    }
250
251
    public function 取得_出荷伝票番号($rowNum)
252
    {

codeception/_support/Page/Admin/ProductEditPage.php 1 location

@@ 99-108 (lines=10) @@
96
        return $this;
97
    }
98
99
    public function 規格管理()
100
    {
101
        $this->tester->scrollTo(['css' => '#standardConfig > div > div.d-block.text-center > a'], 0, 200);
102
        $this->tester->click(['css' => '#standardConfig > div > div.d-block.text-center > a']);
103
        $this->tester->waitForElement(['css' => '#standardConfig > div > div.d-block.text-center > a']);
104
        $this->tester->wait(1);
105
        $this->tester->click(['css' => '#confirmFormChangeModal > div > div > div.modal-footer > a.btn.btn-ec-conversion']);
106
107
        return $this;
108
    }
109
110
    public function 登録()
111
    {