From 27c8118bdac0a3538ef4e91bbd2ee91356388954 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Fri, 10 Jun 2016 08:13:58 -0400 Subject: [PATCH] Adjusted test timing. --- .../src/VuFindTest/Mink/AccountActionsTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/AccountActionsTest.php b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/AccountActionsTest.php index ce672237a9a..0e96ad9eddd 100644 --- a/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/AccountActionsTest.php +++ b/module/VuFind/tests/integration-tests/src/VuFindTest/Mink/AccountActionsTest.php @@ -78,6 +78,7 @@ class AccountActionsTest extends \VuFindTest\Unit\MinkTestCase $this->findCss($page, '#loginOptions a')->click(); $this->snooze(); $this->findCss($page, '.modal-body .createAccountLink')->click(); + $this->snooze(); $this->fillInAccountForm($page); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); $this->snooze(); @@ -122,8 +123,8 @@ class AccountActionsTest extends \VuFindTest\Unit\MinkTestCase $this->findCss($page, '#loginOptions a')->click(); $this->fillInLoginForm($page, 'username1', 'test'); $this->findCss($page, '.modal-body .btn.btn-primary')->click(); - $this->assertLightboxWarning($page, 'Invalid login -- please try again.'); $this->snooze(); + $this->assertLightboxWarning($page, 'Invalid login -- please try again.'); // Now log in successfully: $this->fillInLoginForm($page, 'username1', 'good'); -- GitLab