Code Duplication    Length = 7-7 lines in 2 locations

codeception/_support/Page/Admin/LayoutEditPage.php 2 locations

@@ 55-61 (lines=7) @@
52
        return $this;
53
    }
54
55
    public function コンテキストメニューで上に移動($blockName)
56
    {
57
        $this->コンテキストメニューを開く($blockName);
58
        $this->tester->waitForElementVisible(['xpath' => "//div[contains(@id, 'popover')]/div[2]/div/a[1]"]);
59
        $this->tester->click(['xpath' => "//div[contains(@id, 'popover')]/div[2]/div/a[1]"]);
60
        return $this;
61
    }
62
63
    public function コンテキストメニューで下に移動($blockName)
64
    {
@@ 63-69 (lines=7) @@
60
        return $this;
61
    }
62
63
    public function コンテキストメニューで下に移動($blockName)
64
    {
65
        $this->コンテキストメニューを開く($blockName);
66
        $this->tester->waitForElementVisible(['xpath' => "//div[contains(@id, 'popover')]/div[2]/div/a[2]"]);
67
        $this->tester->click(['xpath' => "//div[contains(@id, 'popover')]/div[2]/div/a[2]"]);
68
        return $this;
69
    }
70
71
    public function コンテキストメニューでセクションに移動($blockName)
72
    {