diff --git a/tests/Behat/Behaviour/ContainsContentElementTrait.php b/tests/Behat/Behaviour/ContainsContentElementTrait.php index eb85d11d..65cd9297 100644 --- a/tests/Behat/Behaviour/ContainsContentElementTrait.php +++ b/tests/Behat/Behaviour/ContainsContentElementTrait.php @@ -35,7 +35,7 @@ public function containsContentElement(string $contentElement): bool } return $isAutocompleteField - ? $contentElements->has('css', '[data-autocomplete]') + ? $contentElements->has('css', 'input.search') : $contentElements->hasField($contentElement); } }