498 B
498 B
Imhotep React + Playwright Project
This project was scaffolded with imhotep init --preset react.
Getting Started
npm install
npx playwright install
npm test
Project Structure
imhotep.config.js- Imhotep configurationtests/- Test filesfixtures/- HTML fixtures for spatial testing
Writing Tests
Use the Imhotep DSL for spatial assertions:
const ui = imhotep(page);
await ui.expect('.header').to.be.above('.content', { minGap: 16 });