End to end testing
While WunderGraph does not provide any end to end testing libraries itself, it does fully support using PlayWright .
Follow the official instructions from PlayWright, which will set up an example test for you.
Configure your PlayWright to start your WunderGraph application by editing
playwright.config.ts. Look for
webServer and add the following lines:
Run your tests
First, install PlayWright browser engines with:
And finally start your tests by running: