-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from evangelion1204/3_composer_adjustments
Updates of namespaces and composer.json
- Loading branch information
Showing
10 changed files
with
45 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
BehatQAToolsExtension | ||
===================== | ||
BehatExtension | ||
============== |
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "qa-tools/behat-extension-example", | ||
"license": "BSD-3-Clause", | ||
"require": { | ||
"php": ">=5.3.1", | ||
"qa-tools/qa-tools": "~1.0@dev", | ||
"qa-tools/behat-extension": "~1.0@dev", | ||
"mindplay/annotations": "~1.2@dev", | ||
"behat/mink": "~1.5@dev", | ||
"behat/mink-selenium2-driver": "~1.1@dev" | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "vcs", | ||
"url": "https://github.com/qa-tools/behat-extension" | ||
} | ||
], | ||
"autoload-dev": { | ||
"psr-0": { | ||
"pages": "" | ||
} | ||
}, | ||
"config": { | ||
"bin-dir": "bin/" | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
.../behat/features/bootstrap/MainContext.php → example/features/bootstrap/MainContext.php
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
3 changes: 1 addition & 2 deletions
3
tests/QATools/behat/features/test.feature → example/features/test.feature
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
File renamed without changes.
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* @copyright Michael Geppert <[email protected]> | ||
*/ | ||
|
||
namespace QATools\behat\pages; | ||
namespace pages; | ||
|
||
|
||
use QATools\QATools\HtmlElements\TypifiedPage; | ||
|
@@ -17,7 +17,7 @@ | |
/** | ||
* Class TestPage | ||
* | ||
* @page-url('http://test.qa-tools.io/tests/aik099/QATools/HtmlElementsLive/Element/') | ||
* @page-url('/example/fixtures/') | ||
*/ | ||
class TestPage extends TypifiedPage | ||
{ | ||
|
@@ -26,7 +26,7 @@ class TestPage extends TypifiedPage | |
* Input elements. | ||
* | ||
* @var WebElement | ||
* @find-by('css' => '[name*=test]') | ||
* @find-by('css' => 'input[name*=test]') | ||
*/ | ||
protected $inputs; | ||
|
||
|
@@ -38,10 +38,11 @@ class TestPage extends TypifiedPage | |
public function enter() | ||
{ | ||
$this->inputs->click(); | ||
} | ||
|
||
foreach ( $this->inputs as $input ) { | ||
$input->click(); | ||
} | ||
public function waitFor($timeout, $callback) | ||
{ | ||
return ; | ||
} | ||
|
||
} |
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