Files
perauset-e2e-mrfz8msi/e2e/tests/features/audit-log.feature
2026-07-11 08:21:55 +02:00

15 lines
582 B
Gherkin

Feature: Audit Log
Scenario: Audit log captures changes
Given I login as "admin@perauset.org"
When I update my profile with displayName "Audited Admin"
And I send a GET request to "/audit-log?tableName=user"
Then the response status should be 200
And the audit log should contain an "UPDATE" entry for table "user"
Scenario: Unpermissioned user cannot view audit log
Given a user "noaudit@test.org" exists with roles "guest"
And I login as "noaudit@test.org"
When I send a GET request to "/audit-log"
Then the response status should be 403