Skip to content

test(e2e): Bookmark E2E test suite — save/remove post & comment, get bookmarks#85

Merged
aquie00t merged 1 commit intomainfrom
test/e2e-auth-bookmark-coverage
Apr 17, 2026
Merged

test(e2e): Bookmark E2E test suite — save/remove post & comment, get bookmarks#85
aquie00t merged 1 commit intomainfrom
test/e2e-auth-bookmark-coverage

Conversation

@aquie00t
Copy link
Copy Markdown
Collaborator

  • Add tests/e2e/bookmark/save-post.test.ts
  • Add tests/e2e/bookmark/remove-post.test.ts
  • Add tests/e2e/bookmark/save-comment.test.ts
  • Add tests/e2e/bookmark/remove-comment.test.ts
  • Add tests/e2e/bookmark/get-bookmarks.test.ts

Each suite prepares its own state via beforeAll (register → login → create post/comment → seed bookmarks). No mocking. Tests cover happy path, idempotency, 404 for non-existent resources, and 401 for unauthenticated access.

What does this PR do?

A brief description of the changes introduced.

Closes #


Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Chore

Checklist

  • My branch follows the naming convention (feature/, fix/, chore/, docs/)
  • My commits follow Conventional Commits
  • I have tested my changes locally
  • I have not introduced any breaking changes
  • I have updated relevant documentation if needed

- Add tests/e2e/bookmark/save-post.test.ts
- Add tests/e2e/bookmark/remove-post.test.ts
- Add tests/e2e/bookmark/save-comment.test.ts
- Add tests/e2e/bookmark/remove-comment.test.ts
- Add tests/e2e/bookmark/get-bookmarks.test.ts

Each suite prepares its own state via beforeAll (register → login →
create post/comment → seed bookmarks). No mocking. Tests cover happy
path, idempotency, 404 for non-existent resources, and 401 for
unauthenticated access.
@aquie00t aquie00t merged commit 0741cce into main Apr 17, 2026
6 checks passed
@aquie00t aquie00t deleted the test/e2e-auth-bookmark-coverage branch April 17, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant