Code Duplication    Length = 8-8 lines in 5 locations

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

@@ 87-94 (lines=8) @@
84
        return $this;
85
    }
86
87
    public function 受注CSVダウンロード実行()
88
    {
89
        $this->tester->click(['id' => 'csvDownloadDropDown']);
90
        $this->tester->waitForElementVisible(['id' => 'orderCsvDownload']);
91
        $this->tester->click(['id' => 'orderCsvDownload']);
92
93
        return $this;
94
    }
95
96
    public function 受注CSV出力項目設定()
97
    {
@@ 96-103 (lines=8) @@
93
        return $this;
94
    }
95
96
    public function 受注CSV出力項目設定()
97
    {
98
        $this->tester->click(['id' => 'csvSettingDropDown']);
99
        $this->tester->waitForElementVisible(['id' => 'orderCsvSetting']);
100
        $this->tester->click(['id' => 'orderCsvSetting']);
101
102
        return $this;
103
    }
104
105
    public function 配送CSVダウンロード実行()
106
    {
@@ 105-112 (lines=8) @@
102
        return $this;
103
    }
104
105
    public function 配送CSVダウンロード実行()
106
    {
107
        $this->tester->click(['id' => 'csvDownloadDropDown']);
108
        $this->tester->waitForElementVisible(['id' => 'shippingCsvDownload']);
109
        $this->tester->click(['id' => 'shippingCsvDownload']);
110
111
        return $this;
112
    }
113
114
    public function 配送CSV出力項目設定()
115
    {
@@ 114-121 (lines=8) @@
111
        return $this;
112
    }
113
114
    public function 配送CSV出力項目設定()
115
    {
116
        $this->tester->click(['id' => 'csvSettingDropDown']);
117
        $this->tester->waitForElementVisible(['id' => 'shippingCsvSetting']);
118
        $this->tester->click(['id' => 'shippingCsvSetting']);
119
120
        return $this;
121
    }
122
123
    public function すべてチェック()
124
    {

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

@@ 150-157 (lines=8) @@
147
     *
148
     * @return $this
149
     */
150
    public function 規格確認ボタンをクリック($rowNum)
151
    {
152
        $this->tester->click(['css' => "#ex-product-${rowNum} > td:nth-child(7) > button"]);
153
        $this->tester->waitForElementVisible(['id' => 'productClassesModal']);
154
        $this->tester->wait(1);
155
156
        return $this;
157
    }
158
159
    /**
160
     * Btn class product, list product search