Code Duplication    Length = 7-10 lines in 5 locations

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

@@ 122-131 (lines=10) @@
119
        return $this;
120
    }
121
122
    public function 一括メール送信()
123
    {
124
        $this->tester->click(['id' => 'bulkSendMail']);
125
        $this->tester->waitForElementVisible(['id' => 'sentUpdateModal']);
126
        $this->tester->wait(1);
127
        $this->tester->click(['id' => 'bulkChange']);
128
        $this->tester->wait(5);
129
        $this->tester->waitForElementVisible(['id' => 'bulkChangeComplete']);
130
        return $this;
131
    }
132
133
    public function 一覧_注文番号($rowNum)
134
    {

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

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

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

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