Code Duplication    Length = 7-8 lines in 3 locations

codeception/_support/Page/Front/ProductDetailPage.php 1 location

@@ 75-81 (lines=7) @@
72
     * @param $num|int
73
     * @return ProductDetailPage
74
     */
75
    public function カートに入れる($num)
76
    {
77
        $this->tester->fillField(['id' => 'quantity'], $num);
78
        $this->tester->click(['id' => 'add-cart']);
79
        $this->tester->wait(1);
80
        return $this;
81
    }
82
83
    public function お気に入りに追加()
84
    {

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

@@ 40-47 (lines=8) @@
37
        return $this;
38
    }
39
40
    public function 詳細検索_電話番号($value = '')
41
    {
42
        $this->tester->click(self::$詳細検索ボタン);
43
        $this->tester->wait(1);
44
        $this->tester->fillField(['id' => 'admin_search_order_phone_number'], $value);
45
        $this->tester->click('#search_form #search_submit');
46
        return $this;
47
    }
48
49
    public function 受注CSVダウンロード実行()
50
    {

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

@@ 60-67 (lines=8) @@
57
        return $this;
58
    }
59
60
    public function 詳細検索_電話番号($value = '')
61
    {
62
        $this->tester->click(self::$詳細検索ボタン);
63
        $this->tester->wait(1);
64
        $this->tester->fillField(['id' => 'admin_search_shipping_phone_number'], $value);
65
        $this->tester->click('#search_form > div.c-outsideBlock__contents.mb-3 > button');
66
        return $this;
67
    }
68
69
    public function 出荷CSVダウンロード実行()
70
    {