mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 06:08:21 +01:00
Travis test fixes.
This commit is contained in:
parent
83aa1ae09a
commit
13a5cd5368
@ -12,6 +12,7 @@ class PasswordRecoveryCest
|
||||
|
||||
$I->amGoingTo('request a recovery mail for an invalid user email and wrong captcha');
|
||||
LoginPage::openBy($I);
|
||||
$I->wait(3);
|
||||
$I->waitForText('Create a new one.');
|
||||
$I->jsClick('#password-recovery-link');
|
||||
$I->waitForText('Password recovery');
|
||||
|
@ -8,7 +8,7 @@ use Codeception\Specify;
|
||||
use humhub\modules\user\models\User;
|
||||
use humhub\modules\user\models\Follow;
|
||||
|
||||
class FollowTest extends HumHubDbTestCase
|
||||
class ApprovalTest extends HumHubDbTestCase
|
||||
{
|
||||
|
||||
use Specify;
|
||||
|
@ -204,7 +204,7 @@ class AcceptanceTester extends \Codeception\Actor
|
||||
*/
|
||||
public function selectUserFromPicker($selector, $userName)
|
||||
{
|
||||
$select2Input = $selector.' ~ span input';
|
||||
$select2Input = $selector . ' ~ span input';
|
||||
$this->fillField($select2Input, $userName);
|
||||
$this->waitForElementVisible('.select2-container--open');
|
||||
$this->wait(5);
|
||||
@ -228,7 +228,7 @@ class AcceptanceTester extends \Codeception\Actor
|
||||
|
||||
public function jsClick($selector)
|
||||
{
|
||||
$this->executeJS("$('". $selector ."').click();");
|
||||
$this->executeJS("$('" . $selector . "')[0].click();");
|
||||
}
|
||||
|
||||
public function jsFillField($selector, $value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user