Project Number Date
WordPress 1.0.3fa221 12 Jul 2022, 21:30

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Comments 57 0 0 0 0 57 10 0 10 5.094 Passed
Feature Comments
0.485
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Given I am authorized with a user with "administrator" role 0.252
When I make a request to retrieve all comments 0.230
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And response should have proper amount of comments 0.001
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.512
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Given I am authorized with a user with "administrator" role 0.236
When I make a request to create a comment with the following query params 0.251
post author_name author_email content
1 A WordPress Commenter wapuu@wordpress.example TestNG Comment Example
Then response should be "HTTP/1.1 201 Created" 0.000
And response should be valid and have a body 0.000
And proper postID should be returned 0.008
And proper author_name should be returned 0.006
And proper content should be returned 0.007
After com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.afterCreateAComment() 0.579
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.549
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.beforeRetrieveAComment() 0.468
Given I am authorized with a user with "administrator" role 0.241
When I make a request to retrieve a comment 0.258
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And proper comment id should be returned 0.024
And proper postID should be returned 0.012
And proper author_name should be returned 0.004
And proper content of a retrieve comment should be returned 0.008
After com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.afterCreateAComment() 0.492
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.505
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.beforeRetrieveAComment() 0.494
Given I am authorized with a user with "administrator" role 0.253
When I make a request to update a comment with the following query params 0.235
author_name content
A TestNG Commenter Updated TestNG Comment Updated
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And proper comment id should be returned 0.006
And proper author_name should be returned 0.004
And proper content should be returned 0.004
After com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.afterCreateAComment() 0.585
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.478
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.beforeRetrieveAComment() 0.489
Given I am authorized with a user with "administrator" role 0.238
When I make a request to delete a comment 0.226
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And proper comment id should be returned 0.007
And comment should be deleted 0.005
After com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.afterCreateAComment() 0.536
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.468
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Given I am authorized with a user with "subscriber" role 0.242
When I make a request to retrieve all comments 0.223
Then response should be "HTTP/1.1 200 OK" 0.000
And response should be valid and have a body 0.000
And response should have proper amount of comments 0.001
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.548
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Given I am authorized with a user with "subscriber" role 0.277
When I make a request to create a comment with the following query params 0.235
post author_name author_email content
1 A WordPress Subscriber wapuu@wordpress.example TestNG Comment Subscriber
Then response should be "HTTP/1.1 201 Created" 0.000
And response should be valid and have a body 0.000
And proper postID should be returned 0.007
And proper author_name should be returned 0.022
And proper content should be returned 0.005
After com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.afterCreateAComment() 0.516
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.520
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.beforeRetrieveAComment() 0.502
Given I am authorized with a user with "subscriber" role 0.237
When I make a request to retrieve a comment 0.272
Then response should be "HTTP/1.1 403 Forbidden" 0.000
And response should be invalid and have a body with the following values 0.010
code message
rest_cannot_read Sorry, you are not allowed to read this comment.
After com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.afterCreateAComment() 0.513
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.503
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.beforeRetrieveAComment() 0.521
Given I am authorized with a user with "subscriber" role 0.242
When I make a request to update a comment with the following query params 0.239
author_name content
A TestNG Subscriber Updated TestNG Subscriber Comment Updated
Then response should be "HTTP/1.1 403 Forbidden" 0.000
And response should be invalid and have a body with the following values 0.020
code message
rest_cannot_edit Sorry, you are not allowed to edit this comment.
After com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.afterCreateAComment() 0.469
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000
0.523
Before com.jalasoft.wordpress.steps.hooks.ScenarioHooks.beforeScenario(io.cucumber.java.Scenario) 0.000
Before com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.beforeRetrieveAComment() 0.488
Given I am authorized with a user with "subscriber" role 0.251
When I make a request to delete a comment 0.253
Then response should be "HTTP/1.1 403 Forbidden" 0.000
And response should be invalid and have a body with the following values 0.017
code message
rest_cannot_delete Sorry, you are not allowed to delete this comment.
After com.jalasoft.wordpress.steps.hooks.features.CommentsFeatureHooks.afterCreateAComment() 0.540
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterFailedScenario(io.cucumber.java.Scenario) 0.000
After com.jalasoft.wordpress.steps.hooks.ScenarioHooks.afterScenario(io.cucumber.java.Scenario) 0.000