mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Merge pull request #1349 from kbond/zenstruck/browser
Add recipe for `zenstruck/browser`
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"aliases": ["browser"],
|
||||
"add-lines": [
|
||||
{
|
||||
"file": "phpunit.xml.dist",
|
||||
"content": " <server name=\"BROWSER_ALWAYS_START_WEBSERVER\" value=\"1\"/>",
|
||||
"position": "after_target",
|
||||
"target": "<server name=\"SHELL_VERBOSITY\" value=\"-1\" />",
|
||||
"warn_if_missing": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
* You're ready to use zenstruck/browser:
|
||||
1. Add the <info>HasBrowser</info> trait to "kernel" test cases
|
||||
2. Start using <info>$this->browser()->...</info> in your tests
|
||||
|
||||
* <fg=blue>Read</> the documentation at <comment>https://github.com/zenstruck/browser#zenstruckbrowser</>
|
||||
Reference in New Issue
Block a user