Code Duplication    Length = 7-10 lines in 6 locations

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

@@ 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
    {

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

@@ 152-159 (lines=8) @@
149
        return $this;
150
    }
151
152
    public function 変更を確定()
153
    {
154
        $this->tester->waitForElementVisible(['id' => 'bulkChange']);
155
        $this->tester->click(['id' => 'bulkChange']);
156
        $this->tester->waitForElementVisible(['id' => 'bulkChangeComplete']);
157
        $this->tester->click(['id' => 'bulkChangeComplete']);
158
        return $this;
159
    }
160
161
    public function 出荷先を追加()
162
    {