From a6da06f84c14159bb3ac68d083b16edce235c9bc Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Thu, 26 Oct 2017 08:24:38 -0400 Subject: [PATCH] Adjust test timing. --- .../integration-tests/src/VuFindTest/Mink/FavoritesTest.php | 3 +++ 1 file changed, 3 insertions(+) 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 3a5cba36e47..a9024b663c4 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php @@ -141,6 +141,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase $this->findCss($page, '#list_title')->setValue('Test List'); $this->findCss($page, '#list_desc')->setValue('Just. THE BEST.'); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); + $this->snooze(); $this->assertEquals($this->findCss($page, '#save_list option[selected]')->getHtml(), 'Test List'); $this->findCss($page, '#add_mytags')->setValue('test1 test2 "test 3"'); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); @@ -185,6 +186,7 @@ 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(); @@ -194,6 +196,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase ); // - 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(); -- GitLab