|
|
@@ -21,11 +21,11 @@ $I->see('The verification code is incorrect');
|
|
|
|
|
|
$I->amGoingTo('submit contact form with not correct email');
|
|
|
$contactPage->submit([
|
|
|
- 'name' => 'tester',
|
|
|
- 'email' => 'tester.email',
|
|
|
- 'subject' => 'test subject',
|
|
|
- 'body' => 'test content',
|
|
|
- 'verifyCode' => 'testme',
|
|
|
+ 'name' => 'tester',
|
|
|
+ 'email' => 'tester.email',
|
|
|
+ 'subject' => 'test subject',
|
|
|
+ 'body' => 'test content',
|
|
|
+ 'verifyCode' => 'testme',
|
|
|
]);
|
|
|
$I->expectTo('see that email adress is wrong');
|
|
|
$I->dontSee('Name cannot be blank', '.help-inline');
|
|
|
@@ -36,11 +36,11 @@ $I->dontSee('The verification code is incorrect', '.help-inline');
|
|
|
|
|
|
$I->amGoingTo('submit contact form with correct data');
|
|
|
$contactPage->submit([
|
|
|
- 'name' => 'tester',
|
|
|
- 'email' => 'tester@example.com',
|
|
|
- 'subject' => 'test subject',
|
|
|
- 'body' => 'test content',
|
|
|
- 'verifyCode' => 'testme',
|
|
|
+ 'name' => 'tester',
|
|
|
+ 'email' => 'tester@example.com',
|
|
|
+ 'subject' => 'test subject',
|
|
|
+ 'body' => 'test content',
|
|
|
+ 'verifyCode' => 'testme',
|
|
|
]);
|
|
|
if (method_exists($I, 'wait')) {
|
|
|
$I->wait(3); // only for selenium
|