-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '2.0' of github.com:Modelizer/Laravel-Selenium into 2.0
- Loading branch information
Showing
3 changed files
with
28 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
class FormTest extends SeleniumTestCase | ||
{ | ||
/** @test */ | ||
function it_should_fill_input_fields() | ||
public function it_should_fill_input_fields() | ||
{ | ||
$this->visit() | ||
->click('Form') | ||
|
@@ -18,7 +18,7 @@ function it_should_fill_input_fields() | |
} | ||
|
||
/** @test */ | ||
function it_should_type_information() | ||
public function it_should_type_information() | ||
{ | ||
$formInfo = [ | ||
'firstName' => 'Mohammed', | ||
|
@@ -33,23 +33,23 @@ function it_should_type_information() | |
} | ||
|
||
/** @test */ | ||
function it_should_type_email_by_name() | ||
public function it_should_type_email_by_name() | ||
{ | ||
$this->visit() | ||
->click('Form') | ||
->type('[email protected]', 'inputEmail-name'); | ||
} | ||
|
||
/** @test */ | ||
function it_should_type_email_by_id() | ||
public function it_should_type_email_by_id() | ||
{ | ||
$this->visit() | ||
->click('Form') | ||
->typeById('[email protected]', 'inputEmail'); | ||
} | ||
|
||
/** @test */ | ||
function it_should_type_by_css_selector() | ||
public function it_should_type_by_css_selector() | ||
{ | ||
$this->visit() | ||
->click('Form') | ||
|
@@ -58,7 +58,7 @@ function it_should_type_by_css_selector() | |
} | ||
|
||
/** @test */ | ||
function it_should_type_information_and_press_a_button() | ||
public function it_should_type_information_and_press_a_button() | ||
{ | ||
$formInfo = [ | ||
'firstName' => 'Mohammed', | ||
|
@@ -75,7 +75,7 @@ function it_should_type_information_and_press_a_button() | |
} | ||
|
||
/** @test */ | ||
function it_should_submit_form() | ||
public function it_should_submit_form() | ||
{ | ||
$formInfo = [ | ||
'firstName' => 'Mohammed', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters