I am running a Functional test in a class derived from BrowserTestBase
. Line 105 of the test method has this assertion:
$this->assertSession()->linkExists('10000003');
The test output says:
Behat\Mink\Exception\ExpectationException: Link with label 10000003 found.
identifying line 105 as the line where the exception occurred. If it found the link, why does it consider that an error?