-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Kohav
committed
Oct 22, 2015
1 parent
1c8014c
commit c987f7c
Showing
13 changed files
with
1,803 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
before_script: | ||
# Exit one errors. | ||
- set -e | ||
|
||
# Install Behat | ||
- cd ./behat | ||
- cp behat.local.yml.example behat.local.yml | ||
- composer install | ||
- cd .. | ||
|
||
# Install webdriverCSS | ||
- cd ./visual-monitor | ||
- npm install | ||
- cd .. | ||
|
||
|
||
script: | ||
- cd ./behat | ||
- ./bin/behat --tags=~wip | ||
- cd .. | ||
|
||
- cd ./visual-monitor | ||
- PROVIDER_PREFIX=browserstack SELECTED_CAPS=chrome mocha |
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,4 @@ | ||
vendor/ | ||
behat.local.yml | ||
bin/ | ||
composer.phar |
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,9 @@ | ||
```bash | ||
curl -sS https://getcomposer.org/installer | php | ||
php composer.phar install | ||
``` | ||
|
||
```bash | ||
# Execute the tests. | ||
./bin/behat | ||
``` |
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,10 @@ | ||
default: | ||
extensions: | ||
Behat\MinkExtension: | ||
base_url: "http://www.thebrickfactory.com" | ||
|
||
## Selenium integration | ||
# selenium2: | ||
# http://selenium is the URL alias to the Selenium docker container. | ||
# wd_host: "http://selenium:4444/wd/hub" | ||
# browser: chrome |
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,12 @@ | ||
default: | ||
suites: | ||
default: | ||
contexts: | ||
- FeatureContext | ||
extensions: | ||
Behat\MinkExtension: | ||
goutte: ~ | ||
selenium2: ~ | ||
|
||
imports: | ||
- behat.local.yml |
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,10 @@ | ||
{ | ||
"name": "Behat tests for http://www.thebrickfactory.com", | ||
"description": "Functional testing for http://www.thebrickfactory.com site.", | ||
"require": { | ||
"drupal/drupal-extension": "~3.0" | ||
}, | ||
"config": { | ||
"bin-dir": "bin/" | ||
} | ||
} |
Oops, something went wrong.