chore: perauset customer project
This commit is contained in:
14
e2e/tests/features/notifications.feature
Normal file
14
e2e/tests/features/notifications.feature
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user