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

Fix broken test.

parent 54293cf2
No related merge requests found
...@@ -87,13 +87,16 @@ class AccountActionsTest extends \VuFindTest\Unit\MinkTestCase ...@@ -87,13 +87,16 @@ class AccountActionsTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '.logoutOptions a.logout')->click(); $this->findCss($page, '.logoutOptions a.logout')->click();
$this->snooze(); $this->snooze();
// Go to profile page:
$session->visit($this->getVuFindUrl('/MyResearch/Profile'));
// Log back in // Log back in
$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->snooze(); $this->snooze();
// We should now be on account screen; go to change password page // Now click change password button:
$this->findAndAssertLink($page, 'Change Password')->click(); $this->findAndAssertLink($page, 'Change Password')->click();
$this->snooze(); $this->snooze();
......
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