1 | <?php |
||
9 | abstract class AbstractPage |
||
10 | { |
||
11 | public static $URL = null; |
||
12 | |||
13 | // incl_Abstractude url of current page |
||
14 | public static $basePath = ''; |
||
15 | |||
16 | /** |
||
17 | * Basic route example for your current URL |
||
18 | * You can append any additional parameter to URL |
||
19 | * and use it in tests like: Page\Edit::route('/123-post'); |
||
20 | * |
||
21 | * @param $param |
||
22 | * @return string |
||
23 | */ |
||
24 | public static function route($param) |
||
28 | |||
29 | /** |
||
30 | * @var \Codeception\Actor; |
||
31 | */ |
||
32 | protected $acceptanceTester; |
||
33 | |||
34 | public function __construct(\Codeception\Actor $I) |
||
40 | |||
41 | protected function init() |
||
44 | |||
45 | /** |
||
46 | * @return \Codeception\Actor; |
||
|
|||
47 | */ |
||
48 | protected function getTester() |
||
52 | |||
53 | public function haveErrorMessage() |
||
57 | |||
58 | public static function getURL() |
||
62 | |||
63 | |||
64 | public function loadPage() |
||
68 | |||
69 | /** |
||
70 | * @return $this |
||
71 | */ |
||
72 | public function checkOnURL() |
||
87 | |||
88 | public function checkElements() |
||
91 | |||
92 | public function testPage() |
||
97 | |||
98 | public function checkPage() |
||
103 | |||
104 | /** |
||
105 | * @param $name |
||
106 | * @param $value |
||
107 | */ |
||
108 | public function addURLQueryParams($name, $value) |
||
119 | } |
||
120 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.