diff --git a/module/VuFind/src/VuFindTest/Unit/MinkTestCase.php b/module/VuFind/src/VuFindTest/Unit/MinkTestCase.php index 79c838f4a57d615f1fb4ce4a0afcf7c663465c83..671fe354be655fd3ca77cf5d6616764d38bebd2b 100644 --- a/module/VuFind/src/VuFindTest/Unit/MinkTestCase.php +++ b/module/VuFind/src/VuFindTest/Unit/MinkTestCase.php @@ -243,7 +243,7 @@ abstract class MinkTestCase extends DbTestCase $session = $this->getMinkSession(); $session->wait($timeout, "$('$selector').length > 0"); $result = $page->find('css', $selector); - $this->assertTrue(is_object($result)); + $this->assertTrue(is_object($result), "Selector not found: $selector"); return $result; }