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

Fixed timing issue with sensitive tags. Formatting change as well.

parent 4764557b
No related merge requests found
...@@ -84,7 +84,8 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase ...@@ -84,7 +84,8 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
* *
* @return void * @return void
*/ */
protected function makeAccount($page, $username) { protected function makeAccount($page, $username)
{
$this->findCss($page, '.modal-body .createAccountLink')->click(); $this->findCss($page, '.modal-body .createAccountLink')->click();
$this->snooze(); $this->snooze();
$this->fillInAccountForm( $this->fillInAccountForm(
...@@ -272,7 +273,6 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase ...@@ -272,7 +273,6 @@ class RecordActionsTest extends \VuFindTest\Unit\MinkTestCase
$this->findCss($page, '.modal .close')->click(); $this->findCss($page, '.modal .close')->click();
// Count tags // Count tags
$this->snooze(); $this->snooze();
$page = $this->gotoRecord();
$tags = $page->findAll('css', '.tagList .tag'); $tags = $page->findAll('css', '.tagList .tag');
$this->assertEquals(6, count($tags)); $this->assertEquals(6, count($tags));
} }
......
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