Skip to content
Snippets Groups Projects
Commit 99241d05 authored by Demian Katz's avatar Demian Katz
Browse files

More timing tweaks.

parent f9a82591
No related merge requests found
...@@ -111,6 +111,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase ...@@ -111,6 +111,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '#save_list'); $this->findCss($page, '#save_list');
// Make list // Make list
$this->findCss($page, '#make-list')->click(); $this->findCss($page, '#make-list')->click();
$this->snooze();
// Empty // Empty
$this->findCss($page, '.modal-body .btn.btn-primary')->click(); $this->findCss($page, '.modal-body .btn.btn-primary')->click();
$this->snooze(); $this->snooze();
...@@ -231,7 +232,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase ...@@ -231,7 +232,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '#make-list')->click(); $this->findCss($page, '#make-list')->click();
// Empty // Empty
$this->findCss($page, '.modal-body .btn.btn-primary')->click(); $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_title')->setValue('Test List');
$this->findCss($page, '#list_desc')->setValue('Just. THE BEST.'); $this->findCss($page, '#list_desc')->setValue('Just. THE BEST.');
$this->findCss($page, '.modal-body .btn.btn-primary')->click(); $this->findCss($page, '.modal-body .btn.btn-primary')->click();
......
...@@ -109,6 +109,7 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase ...@@ -109,6 +109,7 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
// Make sure page updated for login // Make sure page updated for login
$page = $this->gotoRecord(); $page = $this->gotoRecord();
$this->findCss($page, '#usercomments')->click(); $this->findCss($page, '#usercomments')->click();
$this->snooze();
$this->assertEquals( $this->assertEquals(
'Add your comment', 'Add your comment',
$this->findCss($page, 'form.comment .btn.btn-primary')->getValue() $this->findCss($page, 'form.comment .btn.btn-primary')->getValue()
...@@ -270,6 +271,7 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase ...@@ -270,6 +271,7 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
// Send text to false email // Send text to false email
$this->findCss($page, '.modal #email_to')->setValue('asdf@vufind.org'); $this->findCss($page, '.modal #email_to')->setValue('asdf@vufind.org');
$this->findCss($page, '.modal-body .btn.btn-primary')->click(); $this->findCss($page, '.modal-body .btn.btn-primary')->click();
$this->snooze();
// Check for confirmation message // Check for confirmation message
$this->findCss($page, '.modal .alert-info'); $this->findCss($page, '.modal .alert-info');
// Logout // Logout
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment