ctrlshiftleft
Version:
AI-powered toolkit for embedding QA and security testing into development workflows
44 lines (30 loc) • 894 B
Markdown
# Generated Playwright Tests
These tests were automatically generated by the Ctrl+Shift+Left test generator.
## Running the Tests
1. Install Playwright:
```
npm init playwright@latest
```
2. Run the tests:
```
npx playwright test
```
3. View the report:
```
npx playwright show-report
```
## Test Structure
- Each component has its own test file
- Tests cover rendering, form submission, API interactions, and more
- Security-specific tests are included where relevant
## Customizing Tests
These tests are generated as a starting point. You may need to:
1. Update selectors to match your actual DOM structure
2. Adjust form input values to match your validation rules
3. Configure the correct base URL in playwright.config.ts
## Integrating with CI/CD
Add this to your GitHub workflow:
```yaml
- name: Run Playwright tests
run: npx playwright test
```