Fixed Firefox acceptance test for travis issue.

This commit is contained in:
buddh4 2017-02-12 18:40:45 +01:00
parent 0cf52671b7
commit a063b031b0

View File

@ -64,10 +64,11 @@ class AcceptanceTester extends \Codeception\Actor
public function createPost($text)
{
$this->click('#contentForm_message');
$this->wait(2);
$this->jsClick('#contentForm_message');
$this->wait(1);
$this->fillField('#contentForm_message', $text);
$this->jsClick('#post_submit_button');
$this->wait(1);
$this->click('#post_submit_button');
$this->waitForText($text, 30, '.wall-entry');
}