@@ -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 | |