This commit is contained in:
Yuriy Bakhtin 2023-05-13 00:38:34 +04:00 committed by GitHub
parent cd558708f3
commit f97efbd5c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,7 +329,7 @@ class AcceptanceTester extends BaseTester
} else { } else {
$select2Input = $selector . ' ~ span input'; $select2Input = $selector . ' ~ span input';
$this->fillField($select2Input, $search); $this->fillField($select2Input, $search);
$this->waitForText($search, null, '.select2-results__option.select2-results__option--highlighted .highlight'); $this->waitForText($search, null, '.select2-results__option.select2-results__option--highlighted .picker-text');
$this->pressKey($select2Input, WebDriverKeys::ENTER); $this->pressKey($select2Input, WebDriverKeys::ENTER);
} }
} }