From 8be802a287d2e1d278b259a1f40c7c1eeb6ccecb Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 7 Feb 2017 10:59:48 -0500
Subject: [PATCH] More test timing tweaks.

---
 .../tests/integration-tests/src/VuFindTest/Mink/CartTest.php   | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php
index a313cc52775..0b356761d7d 100644
--- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php
+++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php
@@ -389,7 +389,9 @@ class CartTest extends \VuFindTest\Unit\MinkTestCase
 
         // First try deleting without selecting anything:
         $delete->click();
+        $this->snooze();
         $this->findCss($page, '#cart-confirm-delete')->click();
+        $this->snooze();
         $this->checkForNonSelectedMessage($page);
 
         // Now actually select the records to delete:
@@ -572,6 +574,7 @@ class CartTest extends \VuFindTest\Unit\MinkTestCase
 
         // First try clicking without selecting anything:
         $button->click();
+        $this->snooze();
         $this->checkForNonSelectedMessage($page);
 
         // Now do it for real -- we should get an export option list:
-- 
GitLab