Skip to content

Commit

Permalink
Behat
Browse files Browse the repository at this point in the history
  • Loading branch information
DevFabi committed Aug 11, 2020
1 parent 37a56a6 commit 6588e0b
Show file tree
Hide file tree
Showing 19 changed files with 1,534 additions and 453 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@
.phpunit.result.cache
/phpunit.xml
###< symfony/phpunit-bridge ###

###> friends-of-behat/symfony-extension ###
/behat.yml
###< friends-of-behat/symfony-extension ###
29 changes: 29 additions & 0 deletions behat.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
default:
autoload: features
suites:
default:
contexts:
- App\Tests\Behat\FeatureContext

extensions:
FriendsOfBehat\SymfonyExtension:
kernel:
class: ~
path: ~
environment: dev
debug: ~
Behat\MinkExtension:
base_url: http://192.168.99.100:8080/
default_session: chrome
javascript_session: chrome
sessions:
chrome:
selenium2:
browser: chrome
wd_host: http://192.168.99.100:4444/wd/hub
capabilities:
browserName: chrome
browser: chrome
version: ""
marionette: null
javascriptEnabled: true
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@
"ext-ctype": "*",
"ext-iconv": "*",
"ext-json": "*",
"behat/mink-goutte-driver": "^1.2",
"behat/mink-selenium2-driver": "^1.4",
"behatch/contexts": "^3.3",
"composer/package-versions-deprecated": "^1.8",
"doctrine/doctrine-bundle": "^2.1",
"doctrine/doctrine-fixtures-bundle": "^3.3",
"doctrine/doctrine-migrations-bundle": "^2.0",
"doctrine/orm": "^2.7",
"friends-of-behat/symfony-extension": "^2.1",
"fzaninotto/faker": "^1.9",
"knplabs/knp-paginator-bundle": "^5.2",
"knpuniversity/oauth2-client-bundle": "^2.1",
Expand Down Expand Up @@ -47,6 +51,9 @@
"twig/string-extra": "^3.0"
},
"require-dev": {
"friends-of-behat/mink": "^1.8",
"friends-of-behat/mink-browserkit-driver": "^1.4",
"friends-of-behat/mink-extension": "^2.4",
"symfony/debug-pack": "*",
"symfony/phpunit-bridge": "^5.1",
"symfony/profiler-pack": "*"
Expand Down
Loading

0 comments on commit 6588e0b

Please sign in to comment.