Skip to content

Create an E2E test for a pull request sync #207

Description

@fennifith

Write an E2E test that sends a pull_request webhook to the server with known base/head sha values.

Implement (mock) the github comparison API call for base...head to return a diff with a post, collection, and author.

Then implement the bare minimum details for those post/collection/author sync jobs to pass.

Finally, assert that all three were created and are exposed in the content APIs. (note that these items will be noindex, so by default they won't be returned from the list routes)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions