ElasticsearchFunctionalTestBase::assertSelectorStartsWithOrEquals
Assert that the indexth matching css node has a prefix as expected.
Note: characters are stripped from the content; make sure that your assertions take this into account.
Signature
public function assertSelectorStartsWithOrEquals(string
$selector,
$index,
$expectedPrefix )
Parameters
$selector
— string- A basic CSS selector, e.g. 'li.jobs h3'
$index
—$expectedPrefix
—
Returns
- bool