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 571b656b4e57586da0c39c2783f4efaaa2f2f27c..28b29160be620869f8003a67f5c0ab2914009e9a 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php @@ -325,6 +325,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase $page = $this->gotoSearch(); $this->findCss($page, '.save-record')->click(); + $this->snooze(); // Login // - empty $this->submitLoginForm($page); @@ -338,21 +339,26 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase // Make Two Lists // - One for the next test $this->findCss($page, '#make-list')->click(); + $this->snooze(); $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' ); // - One for now $this->findCss($page, '#make-list')->click(); + $this->snooze(); $this->findCss($page, '#list_title')->setValue('Login Test List'); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); + $this->snooze(); $this->assertEquals( $this->findCss($page, '#save_list option[selected]')->getHtml(), 'Login Test List' ); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); + $this->snooze(); $this->findCss($page, '.alert.alert-success'); }