@@ -45,11 +45,17 @@ |
||
| 45 | 45 | return $this->invokedTest; |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | + /** |
|
| 49 | + * @param string $name |
|
| 50 | + */ |
|
| 48 | 51 | public function setTestName($name) |
| 49 | 52 | { |
| 50 | 53 | $this->testName = $name; |
| 51 | 54 | } |
| 52 | 55 | |
| 56 | + /** |
|
| 57 | + * @param string $status |
|
| 58 | + */ |
|
| 53 | 59 | public function setTestStatus($status) |
| 54 | 60 | { |
| 55 | 61 | $this->status = $status; |
@@ -59,6 +59,10 @@ discard block |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | |
| 62 | + /** |
|
| 63 | + * @param string $by |
|
| 64 | + * @param string $selector |
|
| 65 | + */ |
|
| 62 | 66 | public function logFind($by, $selector) |
| 63 | 67 | { |
| 64 | 68 | if ($this->logger instanceof \Magium\Util\Log\LoggerInterface) { |
@@ -135,6 +139,9 @@ discard block |
||
| 135 | 139 | return $element; |
| 136 | 140 | } |
| 137 | 141 | |
| 142 | + /** |
|
| 143 | + * @param string $selector |
|
| 144 | + */ |
|
| 138 | 145 | public function elementExists($selector, $by = 'byId') |
| 139 | 146 | { |
| 140 | 147 | try { |