From 99241d0543132895e21d7e105003d6d2bc31105d Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Wed, 11 Nov 2015 10:46:55 -0500 Subject: [PATCH] More timing tweaks. --- .../integration-tests/src/VuFindTest/Mink/FavoritesTest.php | 3 ++- .../src/VuFindTest/Mink/RecordActionsTest.php | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 e37df683bd5..4db5a57c40f 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php @@ -111,6 +111,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase $this->findCss($page, '#save_list'); // Make list $this->findCss($page, '#make-list')->click(); + $this->snooze(); // Empty $this->findCss($page, '.modal-body .btn.btn-primary')->click(); $this->snooze(); @@ -231,7 +232,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase $this->findCss($page, '#make-list')->click(); // Empty $this->findCss($page, '.modal-body .btn.btn-primary')->click(); - $this->findCss($page, '#list_title'); + $this->snooze(); $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(); diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/RecordActionsTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/RecordActionsTest.php index ff3c289ab2c..7d20b030218 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/RecordActionsTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/RecordActionsTest.php @@ -109,6 +109,7 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase // Make sure page updated for login $page = $this->gotoRecord(); $this->findCss($page, '#usercomments')->click(); + $this->snooze(); $this->assertEquals( 'Add your comment', $this->findCss($page, 'form.comment .btn.btn-primary')->getValue() @@ -270,6 +271,7 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase // Send text to false email $this->findCss($page, '.modal #email_to')->setValue('asdf@vufind.org'); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); + $this->snooze(); // Check for confirmation message $this->findCss($page, '.modal .alert-info'); // Logout -- GitLab