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

Made test more stable.

- Selenium sometimes failed to click "log out" because it was behind the lightbox.
parent cd55331c
No related merge requests found
......@@ -306,8 +306,10 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '.modal #email_from')->setValue('asdf@vufind.org');
$this->findCss($page, '.modal-body .btn.btn-primary')->click();
$this->snooze();
// Check for confirmation message
// Check for confirmation message and close lightbox
$this->findCss($page, '.modal .alert-success');
$this->findCss($page, '.modal .close')->click();
$this->snooze();
// Logout
$this->findCss($page, '.logoutOptions a.logout')->click();
}
......
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