Serenity BDD Report
Home > Profile > Profile > User logs in and submits POST request trying to upload a profile picture.
Report generated 21-08-2025 23:49

Profile

Background: Saved to the DB user

  Under 1 Second (Duration)

User logs in and submits POST request trying to upload a profile picture.

Scenario Outline

When user submits POST profile picture request with john.doe@mail.com and <photoFile>
Then user receives response with code <responseCode> and <responseMessage> message

Examples: 

# Photo File Response Code Response Message
1 1mb.jpeg 200 Profile photo uploaded successfully
2 4mb.jpeg 400 Please upload a jpeg, png or gif photo less than 2MB!
3 textFile.txt 400 Please upload a jpeg, png or gif photo less than 2MB!
Steps Outcome
SUCCESS 149ms
SUCCESS 143ms
SUCCESS 133ms
SUCCESS 0.43s
Serenity BDD version 4.2.34