Download the PHP package didix16/laravel-playwright without Composer
On this page you can find all versions of the php package didix16/laravel-playwright. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download didix16/laravel-playwright
More information about didix16/laravel-playwright
Files in didix16/laravel-playwright
Package laravel-playwright
Short Description Laravel Playwright Boilerplate
License MIT
Homepage https://github.com/didix16/laravel-playwright
Informations about the package laravel-playwright
Laravel + Playwright Integration
This package provides the necessary boilerplate to quickly begin testing your Laravel applications using Playwright.
Installation
If you haven't already installed Playwright; that's your first step.
If you want to use also the test components, you can add the --ct
flag to the command above.
Now you're ready to install this package through Composer. Pull it in as a development-only dependency.
Finally, run the playwright:boilerplate
command to copy over the initial boilerplate files for your Playwright tests.
Also, you can run the command with the --ct
option to copy the boilerplate for the test components.
Configuration
In order to make it work, you have to edit the playwright-ct.config.ts
or playwright.config.ts
file and set the following properties:
}
That's it! You're ready to go. We've provided an laravel-examples.spec.ts
spec for you to play around with it. Let's run it now:
TODO
- [ ] Make the tests can run in parallel to avoid database collisions
Credits
- Yoann Frommelt
- Jeffrey Way for the amazing inspiration
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-playwright with dependencies
illuminate/console Version ^8.0|^9.0|^10.0|^11.0
illuminate/http Version ^8.0|^9.0|^10.0|^11.0
illuminate/routing Version ^8.0|^9.0|^10.0|^11.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0