test(GODT-2746): Add integration test for logged out user

GODT-2746
This commit is contained in:
Gjorgji Slamkov 2023-08-31 12:49:37 +02:00
parent c57b52ef23
commit 21a56a0725
1 changed files with 7 additions and 1 deletions

View File

@ -12,7 +12,13 @@ Feature: The user reports a problem
Then the header in the "POST" multipart request to "/core/v4/reports/bug" has "Title" set to "[Bridge] Bug - title"
And the header in the "POST" multipart request to "/core/v4/reports/bug" has "Description" set to "description"
And the header in the "POST" multipart request to "/core/v4/reports/bug" has "Username" set to "[user:user]"
Scenario: User sends a problem report while signed out of Bridge
When user "[user:user]" logs out
And the user reports a bug with field "Email" set to "[user:user]@[domain]"
Then the header in the "POST" multipart request to "/core/v4/reports/bug" has "Username" set to "[user:user]"
And the header in the "POST" multipart request to "/core/v4/reports/bug" has "Email" set to "[user:user]@[domain]"
Scenario: User sends a problem report with changed Title
When the user reports a bug with field "Title" set to "Testing title"
Then the header in the "POST" multipart request to "/core/v4/reports/bug" has "Title" set to "[Bridge] Bug - Testing title"