Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 46-52 (lines=7) @@
43
        return $this;
44
    }
45
46
    public function コンテキストメニューで上に移動($blockName)
47
    {
48
        $this->コンテキストメニューを開く($blockName);
49
        $this->tester->waitForElementVisible(['xpath' => "//div[contains(@id, 'popover')]/div[2]/div/a[1]"]);
50
        $this->tester->click(['xpath' => "//div[contains(@id, 'popover')]/div[2]/div/a[1]"]);
51
        return $this;
52
    }
53
54
    public function コンテキストメニューで下に移動($blockName)
55
    {
@@ 54-60 (lines=7) @@
51
        return $this;
52
    }
53
54
    public function コンテキストメニューで下に移動($blockName)
55
    {
56
        $this->コンテキストメニューを開く($blockName);
57
        $this->tester->waitForElementVisible(['xpath' => "//div[contains(@id, 'popover')]/div[2]/div/a[2]"]);
58
        $this->tester->click(['xpath' => "//div[contains(@id, 'popover')]/div[2]/div/a[2]"]);
59
        return $this;
60
    }
61
62
    public function コンテキストメニューでセクションに移動($blockName)
63
    {