Commit 6d2bc4f9 authored by Fabrice Gangler's avatar Fabrice Gangler 🎨
Browse files

CHORE(functional tests): add dependencies (browser-kit, css-selector and panther)

Documentation:
https://symfony.com/doc/current/testing.html#your-first-functional-test
https://symfony.com/doc/current/components/browser_kit.html
https://symfony.com/doc/current/components/css_selector.html
https://github.com/symfony/panther

Installation:
composer require --dev symfony/browser-kit
composer require --dev symfony/css-selector
composer require --dev panther

Refs: #7
parent 1f4ca141
......@@ -38,8 +38,11 @@
},
"require-dev": {
"fzaninotto/faker": "^1.9",
"symfony/browser-kit": "5.0.*",
"symfony/css-selector": "5.0.*",
"symfony/debug-pack": "*",
"symfony/maker-bundle": "^1.0",
"symfony/panther": "^0.7.0",
"symfony/profiler-pack": "*",
"symfony/test-pack": "*"
},
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "3e9d18574ace38c3fa6716f83b5accaa",
"content-hash": "8e21c3b6d23badbba23ad8c15fe12ab7",
"packages": [
{
"name": "doctrine/annotations",
......@@ -6265,6 +6265,71 @@
],
"time": "2019-11-08T13:50:10+00:00"
},
{
"name": "php-webdriver/webdriver",
"version": "1.8.1",
"source": {
"type": "git",
"url": "https://github.com/php-webdriver/php-webdriver.git",
"reference": "262ea0d209c292e0330be1041424887bbbffef04"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-webdriver/php-webdriver/zipball/262ea0d209c292e0330be1041424887bbbffef04",
"reference": "262ea0d209c292e0330be1041424887bbbffef04",
"shasum": ""
},
"require": {
"ext-curl": "*",
"ext-json": "*",
"ext-zip": "*",
"php": "^5.6 || ~7.0",
"symfony/polyfill-mbstring": "^1.12",
"symfony/process": "^2.8 || ^3.1 || ^4.0 || ^5.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.0",
"jakub-onderka/php-parallel-lint": "^1.0",
"php-coveralls/php-coveralls": "^2.0",
"php-mock/php-mock-phpunit": "^1.1",
"phpunit/phpunit": "^5.7",
"sebastian/environment": "^1.3.4 || ^2.0 || ^3.0",
"sminnee/phpunit-mock-objects": "^3.4",
"squizlabs/php_codesniffer": "^3.5",
"symfony/var-dumper": "^3.3 || ^4.0 || ^5.0"
},
"suggest": {
"ext-SimpleXML": "For Firefox profile creation"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.8.x-dev"
}
},
"autoload": {
"psr-4": {
"Facebook\\WebDriver\\": "lib/"
},
"files": [
"lib/Exception/TimeoutException.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "A PHP client for Selenium WebDriver. Previously facebook/webdriver.",
"homepage": "https://github.com/php-webdriver/php-webdriver",
"keywords": [
"Chromedriver",
"geckodriver",
"php",
"selenium",
"webdriver"
],
"time": "2020-02-17T08:14:38+00:00"
},
{
"name": "symfony/browser-kit",
"version": "v5.0.4",
......@@ -6602,6 +6667,78 @@
],
"time": "2019-11-07T00:56:03+00:00"
},
{
"name": "symfony/panther",
"version": "v0.7.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/panther.git",
"reference": "ca2432d240e8d3b9a496fb70a79b4fe981a013ff"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/panther/zipball/ca2432d240e8d3b9a496fb70a79b4fe981a013ff",
"reference": "ca2432d240e8d3b9a496fb70a79b4fe981a013ff",
"shasum": ""
},
"require": {
"php": ">=7.1",
"php-webdriver/webdriver": "^1.8.1",
"symfony/browser-kit": "^4.3 || ^5.0",
"symfony/dom-crawler": "^4.3 || ^5.0",
"symfony/http-client": "^4.3 || ^5.0",
"symfony/polyfill-php72": "^1.9",
"symfony/process": "^3.4 || ^4.0 || ^5.0"
},
"conflict": {
"symfony/framework-bundle": ">=4.3 <4.3.4"
},
"require-dev": {
"fabpot/goutte": "^3.2.3",
"guzzlehttp/guzzle": "^6.3",
"symfony/css-selector": "^3.4 || ^4.0 || ^5.0",
"symfony/framework-bundle": "^3.4 || ^4.0 || ^5.0",
"symfony/mime": "^4.3 || ^5.0",
"symfony/phpunit-bridge": "^4.3.3 || ^5.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\Panther\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Kévin Dunglas",
"email": "dunglas@gmail.com",
"homepage": "https://dunglas.fr"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "A browser testing and web scraping library for PHP and Symfony.",
"homepage": "https://dunglas.fr",
"keywords": [
"e2e",
"scraping",
"selenium",
"symfony",
"testing",
"webdriver"
],
"time": "2020-02-20T11:29:31+00:00"
},
{
"name": "symfony/phpunit-bridge",
"version": "v5.0.4",
......
......@@ -111,6 +111,9 @@
"php": {
"version": "7.2"
},
"php-webdriver/webdriver": {
"version": "1.8.1"
},
"phpdocumentor/reflection-common": {
"version": "2.0.0"
},
......@@ -335,6 +338,9 @@
"symfony/orm-pack": {
"version": "v1.0.8"
},
"symfony/panther": {
"version": "v0.7.0"
},
"symfony/phpunit-bridge": {
"version": "4.3",
"recipe": {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment