Testing
AdmiNext provides a package with utilities to help you test your application. The package is called @admi-next/playwright
.
It contains a set of page objects to help you create e2e tests with (playwright)[https://playwright.dev/ ].
To install the package run:
npm i @adminext/playwright
The package contains 3 page objects:
- ResourceListViewPage
- ResourceEditPage
- ResourceNewPage
You can check examples of how to use them in the demo project .
Last updated on