Code Duplication    Length = 12-14 lines in 4 locations

tests/acceptance/client/AccountsCest.php 1 location

@@ 48-59 (lines=12) @@
45
        $I->see('Status', "//form[@id='$formId']//span");
46
    }
47
48
    private function ensureICanSeeBulkSearchBox()
49
    {
50
        $this->index->containsBulkButtons([
51
            ["//button[@type='button']" => 'Basic actions'],
52
        ]);
53
        $this->index->containsColumns('bulk-account-search', [
54
            'Account',
55
            'Server',
56
            'Status',
57
            'Type',
58
        ]);
59
    }
60
}
61

tests/acceptance/client/DatabasesCest.php 1 location

@@ 53-65 (lines=13) @@
50
        $I->see('Server', "//form[@id='$formId']//span");
51
    }
52
53
    private function ensureICanSeeBulkSearchBox()
54
    {
55
        $this->index->containsBulkButtons([
56
            ["//button[@type='submit']" => 'Delete'],
57
        ]);
58
        $this->index->containsColumns('bulk-db-search', [
59
            'DB name',
60
            'Account',
61
            'Server',
62
            'Description',
63
            'Status',
64
        ]);
65
    }
66
}
67

tests/acceptance/client/DomainsCest.php 1 location

@@ 75-88 (lines=14) @@
72
        }
73
    }
74
75
    private function ensureICanSeeBulkSearchBox()
76
    {
77
        $this->index->containsBulkButtons([
78
            ["//button[@type='submit']" => 'Delete'],
79
        ]);
80
        $this->index->containsColumns('bulk-hdomain-search', [
81
            'Domain name',
82
            'Account',
83
            'Server',
84
            'Status',
85
            'IP',
86
            'Service',
87
        ]);
88
    }
89
}
90

tests/acceptance/client/RequestsCest.php 1 location

@@ 64-77 (lines=14) @@
61
        }
62
    }
63
64
    private function ensureICanSeeBulkSearchBox()
65
    {
66
        $this->index->containsBulkButtons([
67
            ["//button[@type='submit']" => 'Delete'],
68
        ]);
69
        $this->index->containsColumns('bulk-request-search', [
70
            'Action',
71
            'Server',
72
            'Account',
73
            'Object',
74
            'Time',
75
            'Status',
76
        ]);
77
    }
78
}
79