From 6f14326ecce46d4bb38c426f2db35434e3fe1150 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Thu, 7 May 2020 16:33:12 -0400 Subject: [PATCH] findCss failure feedback. --- module/VuFind/src/VuFindTest/Unit/MinkTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFind/src/VuFindTest/Unit/MinkTestCase.php b/module/VuFind/src/VuFindTest/Unit/MinkTestCase.php index 79c838f4a57..671fe354be6 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; } -- GitLab