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.513
Scenario
User is able to sell a pet in status available
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Given
User added pet "Beagle" to the pet store
0.155
When
Pet status is set to "available"
0.187
Then
it will be possible to sell it
0.170
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.001
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.000
2.590
Scenario
User is able to upload image of a pet
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Given
User added pet "Beagle" to the pet store
0.701
And
Pet status is set to "available"
0.189
Then
image happy-beagle.jpg will be uploaded successfully
1.699
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.000
0.370
Scenario
User is able to remove pet from the Pet Store
Before
com.levi9.functionaltests.hooks.Hooks.scenarioStart(io.cucumber.java.Scenario)
0.000
Given
User added pet "Pomeranian" to the pet store
0.174
When
Pet is removed from the pet store
0.196
org.junit.ComparisonFailure: [Pet is not deleted!]
Expecting value to be true but was false expected:<[tru]e> but was:<[fals]e>
at com.levi9.functionaltests.stepdefs.petstore.PetStepdef.removePet(PetStepdef.java:62)
at ✽.Pet is removed from the pet store(file:///home/runner/work/functional-tests/functional-tests/target/cucumber/cucable-generated/features/pet_1_scenario002_run001_IT.feature:13)
Then
Pet will not be present in the pet store
0.000
After
com.levi9.functionaltests.hooks.Hooks.scenarioEnd(io.cucumber.java.Scenario)
0.000
After
com.levi9.functionaltests.hooks.Hooks.cleanUp()
0.000