Serenity BDD Report
Home
>
Group
>
Teams management
> Positive scenario
Overall Test Results
Requirements
Capabilities
Features
Report generated 21-08-2025 23:49
Teams Management
Background: Saved to the DB user
Under 1 Second (Duration)
Team
Positive scenario
Scenario Outline
When user amanda.hopkins@mail.com sends POST team creation request with <teamName> and <teamDescription>
Then API responds with 201 HTTP code
And new team with <teamName>, <teamDescription> is created
Examples:
#
Team Name
Team Description
1
Team 1
Team 1 description
Steps
Outcome
1: Positive scenario: Admin user submits POST request with new team request body, data is saved to the DB. ({teamName=Team 1, teamDescription=Team 1 description})
SUCCESS
217ms
Given following roles:
Id
Role
1
ADMIN
2
MODERATOR
3
PROFESSOR
4
STUDENT
SUCCESS
005ms
And ADMIN users with following:
Family Name
First Name
Phone Number
Email
Password
Hopkins
Amanda
+40111111111
amanda.hopkins@mail.com
amanda.hopkins
SUCCESS
062ms
And PROFESSOR users with following:
Family Name
First Name
Phone Number
Email
Password
Doe
John
+40555555555
john.doe@mail.com
john.doe
SUCCESS
061ms
And user amanda.hopkins@mail.com sends POST authentication request with amanda.hopkins or alternative amanda.hopkins password
SUCCESS
061ms
When user amanda.hopkins@mail.com sends POST team creation request with Team 1 and Team 1 description
SUCCESS
019ms
Then API responds with 201 HTTP code
SUCCESS
And new team with Team 1, Team 1 description is created
SUCCESS
001ms
SUCCESS
0.22s
Serenity BDD version 4.2.34