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