15 lines
542 B
Gherkin
15 lines
542 B
Gherkin
Feature: Notification Management
|
|
|
|
Scenario: List notifications
|
|
Given I login as "admin@perauset.org"
|
|
When I send a GET request to "/notifications"
|
|
Then the response status should be 200
|
|
And the response body should be a list with field "items"
|
|
|
|
Scenario: Mark notification as read
|
|
Given I login as "admin@perauset.org"
|
|
And a test notification exists for the current user
|
|
When I mark the notification as read
|
|
Then the response status should be 200
|
|
And the response body field "success" should be truthy
|