Tests/Features/Context/MinkContext.php 1 location
|
@@ 103-109 (lines=7) @@
|
| 100 |
|
/** @see http://stackoverflow.com/questions/3655549/xpath-containstext-some-string-doesnt-work-when-used-with-node-with-more/3655588#3655588 */ |
| 101 |
|
$item = $element->find('xpath', '//*[text()[contains(., "'.$value.'")]]'); |
| 102 |
|
|
| 103 |
|
if ($item) { |
| 104 |
|
return $item; |
| 105 |
|
} else { |
| 106 |
|
$this->getSession()->wait(100); |
| 107 |
|
|
| 108 |
|
return $this->findOrRetry($element, $value, $timeout - 100); |
| 109 |
|
} |
| 110 |
|
} |
| 111 |
|
} |
| 112 |
|
|
Tests/Features/Context/VictoireContext.php 1 location
|
@@ 562-568 (lines=7) @@
|
| 559 |
|
|
| 560 |
|
$item = $element->find($selectorType, $value); |
| 561 |
|
|
| 562 |
|
if ($item) { |
| 563 |
|
return $item; |
| 564 |
|
} else { |
| 565 |
|
$this->getSession()->wait(100); |
| 566 |
|
|
| 567 |
|
return $this->findOrRetry($element, $selectorType, $value, $timeout - 100); |
| 568 |
|
} |
| 569 |
|
} |
| 570 |
|
|
| 571 |
|
/** |