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 4e69584c authored by Demian Katz's avatar Demian Katz
Browse files

More timing tweaks/eliminated redundant logic.

parent 1163659b
No related merge requests found
......@@ -146,6 +146,7 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
$page = $this->gotoRecord();
// Click to add tag
$this->findCss($page, '#tagRecord')->click();
$this->snooze();
// Lightbox login open?
$this->findCss($page, '.modal.in [name="username"]');
// Make account
......@@ -158,6 +159,7 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '.modal .close')->click();
$this->snooze(); // wait for display to update
$this->findCss($page, '.logoutOptions a[title="Log Out"]')->click();
$this->snooze();
// Login
$page = $this->gotoRecord(); // redirects to search home???
$this->findCss($page, '#tagRecord')->click();
......@@ -169,7 +171,6 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '.modal-body .btn.btn-primary')->click();
$this->snooze();
$success = $this->findCss($page, '.modal-body .alert-info');
$this->assertTrue(is_object($success));
$this->assertEquals('Tags Saved', $success->getText());
$this->findCss($page, '.modal .close')->click();
// Count tags
......
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