@@ -256,7 +256,7 @@ |
||
| 256 | 256 | public function waitAjaxAndAnimations() |
| 257 | 257 | { |
| 258 | 258 | $this->getSession() |
| 259 | - ->wait(1000, "window.__behatAjax === false && !jQuery(':animated').length && !jQuery.active"); |
|
| 259 | + ->wait(1000, "window.__behatAjax === false && !jQuery(':animated').length && !jQuery.active"); |
|
| 260 | 260 | } |
| 261 | 261 | |
| 262 | 262 | /** |
@@ -5,17 +5,17 @@ |
||
| 5 | 5 | namespace Drupal\TqExtension\Context\Form; |
| 6 | 6 | |
| 7 | 7 | // Exceptions. |
| 8 | -use Symfony\Component\Filesystem\Exception\FileNotFoundException; |
|
| 9 | 8 | use Behat\Mink\Exception\ElementNotFoundException; |
| 9 | +use Symfony\Component\Filesystem\Exception\FileNotFoundException; |
|
| 10 | 10 | use WebDriver\Exception\NoSuchElement; |
| 11 | 11 | // Helpers. |
| 12 | 12 | use Behat\Gherkin\Node\TableNode; |
| 13 | -use WebDriver\Service\CurlService; |
|
| 14 | 13 | use Behat\Mink\Element\NodeElement; |
| 14 | +use WebDriver\Service\CurlService; |
|
| 15 | 15 | // Utils. |
| 16 | 16 | use Drupal\TqExtension\Utils\DatePicker; |
| 17 | -use Drupal\TqExtension\Utils\FormValueAssertion; |
|
| 18 | 17 | use Drupal\TqExtension\Utils\EntityDrupalWrapper; |
| 18 | +use Drupal\TqExtension\Utils\FormValueAssertion; |
|
| 19 | 19 | |
| 20 | 20 | class FormContext extends RawFormContext |
| 21 | 21 | { |