Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear on how to do integration tests #7847

Open
rburgst opened this issue Aug 24, 2024 · 2 comments
Open

Unclear on how to do integration tests #7847

rburgst opened this issue Aug 24, 2024 · 2 comments
Labels
stale status: needs-triage Possible bug which hasn't been reproduced yet

Comments

@rburgst
Copy link

rburgst commented Aug 24, 2024

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

@rburgst rburgst added status: needs-triage Possible bug which hasn't been reproduced yet v3 labels Aug 24, 2024
@denolfe denolfe changed the title V3: Unclear on how to do integration tests Unclear on how to do integration tests Aug 26, 2024
@denolfe denolfe removed the v3 label Nov 19, 2024
Copy link
Contributor

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.

@github-actions github-actions bot added the stale label Dec 13, 2024
@rburgst
Copy link
Author

rburgst commented Dec 16, 2024

this is definitely not stale

@github-actions github-actions bot removed the stale label Dec 17, 2024
@github-actions github-actions bot added the stale label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale status: needs-triage Possible bug which hasn't been reproduced yet
Projects
None yet
Development

No branches or pull requests

2 participants