From 830a5ac45276bea76640c42e6e42a9b3b4ea3267 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Wed, 18 Oct 2017 14:51:22 -0400 Subject: [PATCH] Slow down Favorites test to try to soothe Jenkins tests. --- .../src/VuFindTest/Mink/FavoritesTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 817b9c45434..ff75962472c 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/FavoritesTest.php @@ -143,7 +143,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase $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(); - $this->snooze(); + $this->snooze(3); $this->findCss($page, '.modal .alert.alert-success'); $this->findCss($page, '.modal-body .btn.btn-default')->click(); // Check list page @@ -200,7 +200,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase 'Login Test List' ); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); - $this->snooze(); + $this->snooze(3); $this->findCss($page, '.modal .alert.alert-success'); } @@ -224,7 +224,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase $this->snooze(); $this->findCss($page, '#save_list'); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); - $this->snooze(); + $this->snooze(3); $this->findCss($page, '.modal .alert.alert-success'); } @@ -453,7 +453,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase $this->findCss($page, '.modal #email_from')->setValue('asdf@vufind.org'); $this->findCss($page, '.modal #email_message')->setValue('message'); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); - $this->snooze(); + $this->snooze(3); // Check for confirmation message $this->assertEquals( 'Your item(s) were emailed', @@ -541,7 +541,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase $button->click(); $this->snooze(); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); - $this->snooze(); + $this->snooze(3); // Check for confirmation message $this->assertEquals( 'Your favorite(s) were deleted.', -- GitLab