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

Adjusted test timing.

parent a3b9e03a
No related merge requests found
...@@ -78,6 +78,7 @@ class AccountActionsTest extends \VuFindTest\Unit\MinkTestCase ...@@ -78,6 +78,7 @@ class AccountActionsTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '#loginOptions a')->click(); $this->findCss($page, '#loginOptions a')->click();
$this->snooze(); $this->snooze();
$this->findCss($page, '.modal-body .createAccountLink')->click(); $this->findCss($page, '.modal-body .createAccountLink')->click();
$this->snooze();
$this->fillInAccountForm($page); $this->fillInAccountForm($page);
$this->findCss($page, '.modal-body .btn.btn-primary')->click(); $this->findCss($page, '.modal-body .btn.btn-primary')->click();
$this->snooze(); $this->snooze();
...@@ -122,8 +123,8 @@ class AccountActionsTest extends \VuFindTest\Unit\MinkTestCase ...@@ -122,8 +123,8 @@ class AccountActionsTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '#loginOptions a')->click(); $this->findCss($page, '#loginOptions a')->click();
$this->fillInLoginForm($page, 'username1', 'test'); $this->fillInLoginForm($page, 'username1', 'test');
$this->findCss($page, '.modal-body .btn.btn-primary')->click(); $this->findCss($page, '.modal-body .btn.btn-primary')->click();
$this->assertLightboxWarning($page, 'Invalid login -- please try again.');
$this->snooze(); $this->snooze();
$this->assertLightboxWarning($page, 'Invalid login -- please try again.');
// Now log in successfully: // Now log in successfully:
$this->fillInLoginForm($page, 'username1', 'good'); $this->fillInLoginForm($page, 'username1', 'good');
......
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