The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 3aa4b4a3 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Test Lightbox link jumps.

parent c120425f
No related merge requests found
...@@ -105,4 +105,23 @@ class BasicTest extends \VuFindTest\Unit\MinkTestCase ...@@ -105,4 +105,23 @@ class BasicTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, 'footer .help-link')->getHTML() $this->findCss($page, 'footer .help-link')->getHTML()
); );
} }
/**
* Test lightbox jump links
*
* @return void
*/
public function testLightboxJumps()
{
$session = $this->getMinkSession();
$session->visit($this->getVuFindUrl() . '/Search/Home');
$page = $session->getPage();
// Open Search tips lightbox
$this->findCss($page, 'footer .help-link')->click();
// Click a jump link
$this->findCss($page, '.modal-body .HelpMenu a')->click();
// Make sure we're still in the Search Tips
$this->snooze();
$this->findCss($page, '.modal-body .HelpMenu');
}
} }
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