@@ -69,6 +69,9 @@ discard block |
||
| 69 | 69 | $this->assertContains('Github Status Resolves', $this->getTestsForFirstGroup()[2]->getText()); |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param string $field |
|
| 74 | + */ |
|
| 72 | 75 | private function checkTestField($field, $value = null) |
| 73 | 76 | { |
| 74 | 77 | $field = strtolower($field); |
@@ -89,6 +92,9 @@ discard block |
||
| 89 | 92 | $this->assertEquals($value, $this->getTestField($field)->getAttribute('value')); |
| 90 | 93 | } |
| 91 | 94 | |
| 95 | + /** |
|
| 96 | + * @param string $field |
|
| 97 | + */ |
|
| 92 | 98 | private function getTestField($field) |
| 93 | 99 | { |
| 94 | 100 | return $this->webDriver->findElement( |