Merge pull request #1349 from kbond/zenstruck/browser

Add recipe for `zenstruck/browser`
This commit is contained in:
Fabien Potencier
2024-10-20 10:25:48 +02:00
committed by GitHub
2 changed files with 17 additions and 0 deletions
+12
View File
@@ -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
}
]
}
+5
View File
@@ -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</>