From 1413c522074fe878f2136589a930e07816ed1e8c Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 27 Sep 2016 11:48:46 -0400
Subject: [PATCH] Tweaked test timing for improved stability.

---
 .../tests/integration-tests/src/VuFindTest/Mink/CartTest.php    | 2 ++
 1 file changed, 2 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 bc7ade8d84c..bd4f17be837 100644
--- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php
+++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php
@@ -188,6 +188,7 @@ class CartTest extends \VuFindTest\Unit\MinkTestCase
 
         // Open the cart and empty it:
         $this->openCartLightbox($page);
+        $this->snooze();
 
         return $page;
     }
@@ -251,6 +252,7 @@ class CartTest extends \VuFindTest\Unit\MinkTestCase
     {
         $cartSelectAll = $page->find('css', '.modal-dialog .checkbox-select-all');
         $cartSelectAll->check();
+        $this->snooze();
     }
 
     /**
-- 
GitLab