Project Number Date
functional-tests 1 13 Oct 2025, 09:24

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Pets 8 1 0 0 0 9 2 1 3 3.400 Failed
Tags: @api @pet
Feature Pets
User is able to add new pet to the store, when it is added to the store user can fetch the information about the pet, change pet information or delete the pet from the store.
0.725
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.000
Given User added pet "Pomeranian" to the pet store 0.532
When Pet is removed from the pet store 0.098
Then Pet will not be present in the pet store 0.095
This file cannot be displayed. Use download button to get the content as file.
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.000
2.425
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.001
Given User added pet "Beagle" to the pet store 0.632
And Pet status is set to "available" 0.075
Then image happy-beagle.jpg will be uploaded successfully 1.717
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.000
0.248
Scenario User is able to sell a pet in status available
Before com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario) 0.007
Steps
Given User added pet "Beagle" to the pet store 0.086
When Pet status is set to "available" 0.079
Then it will be possible to sell it 0.082
com.levi9.functionaltests.exceptions.FunctionalTestsException: Pet can not be fetched. Expected 200, but actual 404. Response message: {
    "code": 1,
    "type": "error",
    "message": "Pet not found"
}
	at com.levi9.functionaltests.rest.service.petstore.PetService.getPet(PetService.java:110)
	at com.levi9.functionaltests.stepdefs.petstore.PetStepdef.validatePossibleToSell(PetStepdef.java:53)
	at ✽.it will be possible to sell it(file:///home/runner/work/functional-tests/functional-tests/target/cucumber/cucable-generated/features/pet_1_scenario001_run001_IT.feature:13)
After com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario) 0.000
After com.levi9.functionaltests.hooks.Hooks.cleanUp() 0.000