public function JSWebAssert::waitOnAutocomplete in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php \Drupal\FunctionalJavascriptTests\JSWebAssert::waitOnAutocomplete()
- 9 core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php \Drupal\FunctionalJavascriptTests\JSWebAssert::waitOnAutocomplete()
Waits for the jQuery autocomplete delay duration.
See also
https://api.jqueryui.com/autocomplete/#option-delay
File
- core/
tests/ Drupal/ FunctionalJavascriptTests/ JSWebAssert.php, line 239
Class
- JSWebAssert
- Defines a class with methods for asserting presence of elements during tests.
Namespace
Drupal\FunctionalJavascriptTestsCode
public function waitOnAutocomplete() {
// Wait for the autocomplete to be visible.
return $this
->waitForElementVisible('css', '.ui-autocomplete li');
}