1 | <?php |
||
11 | class Grid extends Authenticated |
||
12 | { |
||
13 | /** |
||
14 | * @var string $Xpath Chropath of current grid |
||
15 | */ |
||
16 | private $Xpath; |
||
17 | |||
18 | public function __construct(AcceptanceTester $I, string $Xpath = "//form[contains(@id, 'bulk')]") |
||
23 | |||
24 | /** |
||
25 | * @param string[] $columnNames array of column names |
||
26 | * @param string|null $representation the representation name |
||
27 | * @throws \Codeception\Exception\ModuleException |
||
28 | */ |
||
29 | public function containsColumns(array $columnNames, $representation = null): void |
||
44 | |||
45 | /** |
||
46 | * Filters grids table. |
||
47 | * |
||
48 | * @param TestableInput $inputElement |
||
49 | * @param string $value |
||
50 | * @throws \Codeception\Exception\ModuleException |
||
51 | */ |
||
52 | public function filterBy(TestableInput $inputElement, string $value): void |
||
60 | |||
61 | /** |
||
62 | * Sorts grid by specified column. |
||
63 | * |
||
64 | * @param string $columnName |
||
65 | * @throws \Codeception\Exception\ModuleException |
||
66 | */ |
||
67 | public function sortBy(string $columnName): void |
||
72 | } |
||
73 |