@@ -87,13 +87,13 @@ discard block |
||
| 87 | 87 | { |
| 88 | 88 | $this->waitForLoadingAnimation(); |
| 89 | 89 | $this->webDriver->findElement( |
| 90 | - WebDriverBy::cssSelector('.tests li:nth-child(' . $number . ') .test a:nth-child(2)') |
|
| 90 | + WebDriverBy::cssSelector('.tests li:nth-child('.$number.') .test a:nth-child(2)') |
|
| 91 | 91 | )->click(); |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | private function getResultsOnPage($selector = ' span') |
| 95 | 95 | { |
| 96 | - $selector = '.result' . $selector; |
|
| 96 | + $selector = '.result'.$selector; |
|
| 97 | 97 | |
| 98 | 98 | $results = $this->webDriver->findElements( |
| 99 | 99 | WebDriverBy::cssSelector($selector) |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | private function getActionItem($number) |
| 106 | 106 | { |
| 107 | 107 | return $this->webDriver->findElement( |
| 108 | - WebDriverBy::cssSelector('.widget-content .row a:nth-child(' . $number . ')') |
|
| 108 | + WebDriverBy::cssSelector('.widget-content .row a:nth-child('.$number.')') |
|
| 109 | 109 | ); |
| 110 | 110 | } |
| 111 | 111 | |
@@ -132,7 +132,7 @@ |
||
| 132 | 132 | private function getUsers($suffix = '') |
| 133 | 133 | { |
| 134 | 134 | return $this->webDriver->findElements( |
| 135 | - WebDriverBy::cssSelector('.users li' . $suffix) |
|
| 135 | + WebDriverBy::cssSelector('.users li'.$suffix) |
|
| 136 | 136 | ); |
| 137 | 137 | } |
| 138 | 138 | |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | $field = strtolower($field); |
| 74 | 74 | |
| 75 | 75 | if ($value === null) { |
| 76 | - $value = TestFixtures::$tests['test-1']->{'get' . ucfirst($field)}(); |
|
| 76 | + $value = TestFixtures::$tests['test-1']->{'get'.ucfirst($field)}(); |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | if ($field === 'expectation') { |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | private function getTestField($field) |
| 92 | 92 | { |
| 93 | 93 | return $this->webDriver->findElement( |
| 94 | - WebDriverBy::cssSelector('*[data-ng-model="test' . $field . '"]') |
|
| 94 | + WebDriverBy::cssSelector('*[data-ng-model="test'.$field.'"]') |
|
| 95 | 95 | ); |
| 96 | 96 | } |
| 97 | 97 | |