v1.1.0: pooled runtime, 959 tests, production hardening (0 squash)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Imhotep React + Playwright Project
|
||||
|
||||
This project was scaffolded with `imhotep init --preset react`.
|
||||
|
||||
## Getting Started
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npx playwright install
|
||||
npm test
|
||||
```
|
||||
|
||||
## Project Structure
|
||||
|
||||
- `imhotep.config.js` - Imhotep configuration
|
||||
- `tests/` - Test files
|
||||
- `fixtures/` - HTML fixtures for spatial testing
|
||||
|
||||
## Writing Tests
|
||||
|
||||
Use the Imhotep DSL for spatial assertions:
|
||||
|
||||
```typescript
|
||||
const ui = imhotep(page);
|
||||
await ui.expect('.header').to.be.above('.content', { minGap: 16 });
|
||||
```
|
||||
Reference in New Issue
Block a user