PublicDataWorks / verdad-frontend

MIT License
1 stars 0 forks source link

Update the webhook for comments #191

Closed giahung68 closed 2 days ago

giahung68 commented 2 days ago
Scenario: Sending webhook notification for new comment
    Given the webhook endpoint is configured
    When a user creates a new comment
    Then a webhook notification should be sent to the configured endpoint
    And the notification payload should contain the comment data
    And the event type should be "comment.created"

  Scenario: Sending webhook notification for updated comment
    Given the webhook endpoint is configured
    When a user updates an existing comment
    Then a webhook notification should be sent to the configured endpoint
    And the notification payload should contain the updated comment data
    And the event type should be "comment.updated"

  Scenario: Sending webhook notification for deleted comment
    Given the webhook endpoint is configured
    When a user deletes a comment
    Then a webhook notification should be sent to the configured endpoint
    And the notification payload should contain the comment identifier
    And the event type should be "comment.deleted"
linear[bot] commented 2 days ago

VER-217 Update the webhook for comments