Unclear on how to do integration tests
Link to reproduction
No response
Payload Version
3.0.0-beta.90
Node Version
20
Next.js Version
Next.js 15.0.0-canary.104
Describe the Bug
Currently it is not clear how to do integration tests with 3.0. The testing sample in the repo still seems to be v2 related.
The goal would be to init payload and next to be able to test api routes / server actions, etc.
Reproduction Steps
Updating the testing sample would definitely help, however, this is bootstrapping a whole server (currently via express). It would be nice to be able to setup test data using the payload apis.
Adapters and Plugins
No response
This issue has been marked as stale due to lack of activity.
To keep this issue open, please indicate that it is still relevant in a comment below.
this is definitely not stale
Hi @rburgst, I think this has improved since you posted the issue. There is a section in contributing.md indicating the structure of our tests. afaik, most of what we have now is v3. Is there anything missing?
I'm going to mark this as resolved. But if there are any questions or anything you think is missing, let us know!
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.