diff --git a/tests/sources/controllers/ElkArteWebSupport.php b/tests/sources/controllers/ElkArteWebSupport.php index 44aec5cd3b..c855d75841 100644 --- a/tests/sources/controllers/ElkArteWebSupport.php +++ b/tests/sources/controllers/ElkArteWebSupport.php @@ -22,7 +22,6 @@ abstract class ElkArteWebSupport extends Selenium2TestCase { protected $coverageScriptUrl = 'http://127.0.0.1/phpunit_coverage.php'; - //protected $coverageScriptUrl = ''; protected $backupGlobalsExcludeList = ['user_info']; protected $width = 2560; protected $height = 1440; @@ -156,6 +155,9 @@ public function adminLogin() $check = $this->byId('menu_nav')->text(); if (strpos($check, 'Log in') !== false) { + // Don't trip the spamProtection + $this->timeouts()->implicitWait(2500); + // Select login from the main page $this->url('index.php?action=login'); $this->assertEquals('Log in', $this->title(), 'Unable to find the login forum'); @@ -177,7 +179,7 @@ public function adminLogin() } // Hang about until the page refreshes - $this->url('index.php'); + //$this->url('index.php'); $this->waitUntil(function ($testCase) { try