The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

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

Test timing tweaks.

parent 92747c88
No related merge requests found
......@@ -138,6 +138,7 @@ trait UserCreationTrait
{
$button = $this->findCss($page, '.modal-body .btn.btn-primary');
$button->click();
$this->snooze();
}
/**
......
......@@ -113,7 +113,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();
......@@ -191,9 +191,7 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '#loginOptions a')->click();
$this->fillInLoginForm($page, 'username1', 'test');
$this->submitLoginForm($page);
//$this->getMinkSession()->reload();
// Save Record
$this->snooze();
$this->findCss($page, '#save-record')->click();
$this->snooze();
$this->findCss($page, '#save_list');
......@@ -312,7 +310,6 @@ class FavoritesTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '#loginOptions a')->click();
$this->fillInLoginForm($page, 'username2', 'test');
$this->submitLoginForm($page);
$this->snooze(); // wait for login
// Save Record
$this->findCss($page, '.save-record')->click();
$this->snooze();
......
......@@ -162,7 +162,6 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '#tagRecord')->click();
$this->fillInLoginForm($page, 'username2', 'test');
$this->submitLoginForm($page);
//$this->findCss($page, '.modal #addtag_tag');
// Add tags
$this->findCss($page, '.modal #addtag_tag')->setValue('one 2 "three 4" five');
$this->findCss($page, '.modal-body .btn.btn-primary')->click();
......@@ -247,7 +246,6 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
// Login in Lightbox
$this->fillInLoginForm($page, 'username1', 'test');
$this->submitLoginForm($page);
$this->snooze();
// Make sure Lightbox redirects to email view
$this->findCss($page, '.modal #email_to');
// Close lightbox
......
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