mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 07:36:44 +00:00
test(GODT-2746): Add integration test for logged out user
GODT-2746
This commit is contained in:
@ -13,6 +13,12 @@ Feature: The user reports a problem
|
|||||||
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 "Description" set to "description"
|
||||||
And 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 "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
|
Scenario: User sends a problem report with changed Title
|
||||||
When the user reports a bug with field "Title" set to "Testing 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"
|
Then the header in the "POST" multipart request to "/core/v4/reports/bug" has "Title" set to "[Bridge] Bug - Testing title"
|
||||||
|
|||||||
Reference in New Issue
Block a user