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 3d4b60eb8f0a6717bf338d2ee338d6755dd8d5c5..a313cc52775498c02837be3e0201310a49d88666 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/CartTest.php @@ -486,6 +486,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 a login prompt. @@ -647,6 +648,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 redirected. diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php index 6521b8efbbb2af5d1affc26e4064f2f6a18394f2..db4e035c64915122ed2887dc6287acde13bb3747 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php @@ -196,6 +196,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase $this->findCss($page, '#make-list')->click(); $this->findCss($page, '#list_title')->setValue('Future List'); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); + $this->snooze(); $this->assertEquals( $this->findCss($page, '#save_list option[selected]')->getHtml(), 'Future List' @@ -276,6 +277,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase $page, ['username' => 'username2', 'email' => 'username2@ignore.com'] ); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); + $this->snooze(); $this->findCss($page, '#save_list'); // Make list $this->findCss($page, '#make-list')->click();