Integration testing
Warning
// TODO: Fill in more details here
Prerequisites
- Node installed on your machine
- Project Node dependencies installed (
npm install) - Playwright browsers installed and available on your machine (Windows users - see troubleshooting below)
BROWSER_TEST_URLin.envin the project root directory matches your Browser testing server configuration- If you're using the basic PHP web server, it should be
http://localhost:6001 - If you're using Laravel Herd, it should be
http://comet-components.test
- If you're using the basic PHP web server, it should be
- Browser testing server running and successfully loading pages
Troubleshooting
Missing Playwright browsers in Windows
In a separate PowerShell window with admin privileges:
npx playwright install firefox
