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

Prevent test autocomplete race condition.

parent c4071696
Branches
Tags
No related merge requests found
......@@ -61,7 +61,10 @@ class BulkTest extends \VuFindTest\Unit\MinkTestCase
$session = $this->getMinkSession();
$path = '/Search/Results?lookfor=id%3A(testsample1+OR+testsample2)';
$session->visit($this->getVuFindUrl() . $path);
return $session->getPage();
$page = $session->getPage();
// Hide autocomplete menu
$this->findCss($page, '#side-panel-format .title')->click();
return $page;
}
/**
......
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