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