Add recipe for zenstruck/browser

This commit is contained in:
Kevin Bond
2024-10-19 16:08:12 -04:00
parent a861a482b0
commit c47a3509ff
2 changed files with 17 additions and 0 deletions

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
}
]
}

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</>