ElasticsearchFunctionalTestBase::assertSelectorContains
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 assertSelectorContains(string
$selector,
$index,
$expectedClause,
[boolean
$downcase = false] )
Parameters
$selector
— string- A basic CSS selector, e.g. 'li.jobs h3'
$index
—$expectedClause
—$downcase
— boolean
Returns
- bool