~mariusor/go-activitypub#260: 
Integration tests

We need a comprehensive integration test coverage that ensures we don't introduce regressions together with new features.

Status
RESOLVED CLOSED
Submitter
~mariusor
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
brutalinks

~mariusor 2 years ago

We added k6 integration tests scripted using JavaScript that allows implementing different workflows on top of a containerized setup for Brutalinks and FedBOX.

Currently the tests cover just loading the main pages accessible anonymously, but without checking the content.

We need to add:

  1. Content checks for each page.
  2. Implement authorization flow.
  3. Implement authorized pages tests:
    1. Submitting a new item: Link / Text submission.
    2. Voting: Up/Down
    3. Replying
    4. Flagging: Item / Submission / User.
    5. Moderation followup for admin: Delete an item from a moderation request.

Probably we need to add a dual instance setup to test federation between instances, but we're not there yet.

~mariusor REPORTED CLOSED 2 years ago

I'll mark this as closed. I created a separate ticket ( #265 ) for what's still left to do: the authenticated user flow.

Register here or Log in to comment, or comment via email.